Skip to content

Commit b9c648e

Browse files
jdhirojamesdaily
authored andcommitted
docs(ngInit): fix typo
Closes angular#5343
1 parent 6615102 commit b9c648e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ng/directive/ngInit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* current scope.
1111
*
1212
* <div class="alert alert-error">
13-
* The only appropriate use of `ngInit` for aliasing special properties of
13+
* The only appropriate use of `ngInit` is for aliasing special properties of
1414
* {@link api/ng.directive:ngRepeat `ngRepeat`}, as seen in the demo below. Besides this case, you
1515
* should use {@link guide/controller controllers} rather than `ngInit`
1616
* to initialize values on a scope.

0 commit comments

Comments
 (0)