This repository was archived by the owner on Apr 12, 2024. It is now read-only.
File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ Compilation of HTML happens in three phases:
72
72
73
73
1. First the HTML is parsed into DOM using the standard browser API. This is important to
74
74
realize because the templates must be parsable HTML. This is in contrast to most templating
75
- systems that operate on strings, rather then on DOM elements.
75
+ systems that operate on strings, rather than on DOM elements.
76
76
77
77
2. The compilation of the DOM is performed by the call to {@link api/ng.$compile
78
78
$compile()} method. The method traverses the DOM and matches the directives. If a match is found
@@ -146,7 +146,7 @@ instance of an `li` is performed.
146
146
{@link api/ng.directive:ngRepeat ngRepeat} works by preventing the
147
147
compilation process form descending into `li` element. Instead the {@link
148
148
api/ng.directive:ngRepeat ngRepeat} directive compiles `li`
149
- seperatly . The result of of the `li` element compilation is a linking function which contains all
149
+ separately . The result of of the `li` element compilation is a linking function which contains all
150
150
of the directives contained in the `li` element ready to be attached to a specific clone of `li`
151
151
element. At runtime the {@link api/ng.directive:ngRepeat ngRepeat}
152
152
watches the expression and as items are added to the array it clones the `li` element, creates a
You can’t perform that action at this time.
0 commit comments