From a866ce2d6cc1e12954e07d76dff6809f04435c5a Mon Sep 17 00:00:00 2001 From: Jason Travis Date: Mon, 7 Apr 2014 00:24:31 -0700 Subject: [PATCH] docs(guide): fix dropped word in controller description --- docs/content/guide/di.ngdoc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/content/guide/di.ngdoc b/docs/content/guide/di.ngdoc index 891a3e07a1de..1cc0d461c222 100644 --- a/docs/content/guide/di.ngdoc +++ b/docs/content/guide/di.ngdoc @@ -283,8 +283,7 @@ someModule.controller('MyController', ['$scope', 'dep1', 'dep2', function($scope This avoids the creation of global functions for controllers and also protects against minification. Controllers are special in that, unlike services, there can be many instances of them in the -application. For example, there would be one instance of a for every instance of the `ng-controller` -directive in the template. +application. For example, there would be one instance for every `ng-controller` directive in the template. Moreover, additional dependencies are made available to Controllers: @@ -292,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.