From 01e726b2fa3fb0d2584c9bb8df116ff3a9f05879 Mon Sep 17 00:00:00 2001 From: brettcannon Date: Wed, 18 Jul 2012 17:23:20 -0300 Subject: fix(docs): Don't want the present participle of "is" --- docs/content/tutorial/step_05.ngdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/content/tutorial/step_05.ngdoc') diff --git a/docs/content/tutorial/step_05.ngdoc b/docs/content/tutorial/step_05.ngdoc index ef8c28ba..40205e46 100644 --- a/docs/content/tutorial/step_05.ngdoc +++ b/docs/content/tutorial/step_05.ngdoc @@ -104,7 +104,7 @@ to avoid any possible naming collisions. Since angular infers the controller's dependencies from the names of arguments to the controller's constructor function, if you were to {@link http://en.wikipedia.org/wiki/Minification_(programming) minify} the JavaScript code for `PhoneListCtrl` controller, all of its function arguments would be -minified as well, and the dependency injector would not being able to identify services correctly. +minified as well, and the dependency injector would be able to identify services correctly. To overcome issues caused by minification, just assign an array with service identifier strings into the `$inject` property of the controller function, just like the last line in the snippet -- cgit v1.2.3