File tree 1 file changed +1
-1
lines changed
1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ to avoid any possible naming collisions.
104
104
Since angular infers the controller's dependencies from the names of arguments to the controller's
105
105
constructor function, if you were to {@link http://en.wikipedia.org/wiki/Minification_(programming)
106
106
minify} the JavaScript code for `PhoneListCtrl` controller, all of its function arguments would be
107
- minified as well, and the dependency injector would not being able to identify services correctly.
107
+ minified as well, and the dependency injector would be able to identify services correctly.
108
108
109
109
To overcome issues caused by minification, just assign an array with service identifier strings
110
110
into the `$inject` property of the controller function, just like the last line in the snippet
You can’t perform that action at this time.
0 commit comments