From 493f14a891865abbf6fc6de38e9de475536513a9 Mon Sep 17 00:00:00 2001 From: Michael Payne Date: Thu, 24 Apr 2014 13:25:22 -0400 Subject: [PATCH] Update di.ngdoc Fixed a typo. --- docs/content/guide/di.ngdoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/content/guide/di.ngdoc b/docs/content/guide/di.ngdoc index 9e9d7fb28676..9aabef8766a6 100644 --- a/docs/content/guide/di.ngdoc +++ b/docs/content/guide/di.ngdoc @@ -207,7 +207,7 @@ someModule.factory('greeter', ['$window', function(renamed$window) { ``` Here, instead of simply providing the factory function, we pass an array, whose elements consist of -a list of strings (the names of the depenendencies) followed by the function itself. +a list of strings (the names of the dependencies) followed by the function itself. Keep in mind that all of the annotation styles are equivalent and can be used anywhere in Angular where injection is supported. @@ -291,4 +291,4 @@ Moreover, additional dependencies are made available to Controllers: access to the {@link scope scope} at that point. Other components, such as servies only have access to the singleton {@link $rootScope} service. * {@link $route} resolves: If a controller is instantiated as part of a route, then any values that - are resolved as part of the route are made available for injection into the controller. \ No newline at end of file + are resolved as part of the route are made available for injection into the controller.