File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1717 * position within the DOM, such as the `:first-child` or `:last-child` pseudo-classes.
1818 *
1919 * Note that when an element is removed using `ngIf` its scope is destroyed and a new scope
20- * is created when the element is restored. The scope created within `ngIf` inherits from
20+ * is created when the element is restored. The scope created within `ngIf` inherits from
2121 * its parent scope using
2222 * {@link https://github.com/angular/angular.js/wiki/The-Nuances-of-Scope-Prototypal-Inheritance prototypal inheritance}.
2323 * An important implication of this is if `ngModel` is used within `ngIf` to bind to
2424 * a javascript primitive defined in the parent scope. In this case any modifications made to the
2525 * variable within the child scope will override (hide) the value in the parent scope.
2626 *
2727 * Also, `ngIf` recreates elements using their compiled state. An example of this behavior
28- * is if an element's class attribute is directly modified after it's compiled, using something like
28+ * is if an element's class attribute is directly modified after it's compiled, using something like
2929 * jQuery's `.addClass()` method, and the element is later removed. When `ngIf` recreates the element
3030 * the added class will be lost because the original compiled state is used to regenerate the element.
3131 *
Original file line number Diff line number Diff line change 1414 * you may either {@link ng.$sceDelegateProvider#resourceUrlWhitelist whitelist them} or
1515 * {@link ng.$sce#trustAsResourceUrl wrap them} as trusted values. Refer to Angular's {@link
1616 * ng.$sce Strict Contextual Escaping}.
17- *
17+ *
1818 * In addition, the browser's
1919 * {@link https://code.google.com/p/browsersec/wiki/Part2#Same-origin_policy_for_XMLHttpRequest
2020 * Same Origin Policy} and {@link http://www.w3.org/TR/cors/ Cross-Origin Resource Sharing
You can’t perform that action at this time.
0 commit comments