From fd822bdaf9d04e522aaa5400b673f333190abe98 Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Fri, 7 Oct 2011 11:27:49 -0700 Subject: chore(formating): clean code to be function() { --- docs/content/guide/dev_guide.services.creating_services.ngdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/content/guide/dev_guide.services.creating_services.ngdoc') diff --git a/docs/content/guide/dev_guide.services.creating_services.ngdoc b/docs/content/guide/dev_guide.services.creating_services.ngdoc index b75e75a3..bc59f34d 100644 --- a/docs/content/guide/dev_guide.services.creating_services.ngdoc +++ b/docs/content/guide/dev_guide.services.creating_services.ngdoc @@ -10,7 +10,7 @@ that angular's DI will use to create the service object when it is needed. The `angular.service` method accepts three parameters: - `{string} name` - Name of the service. -- `{function()} factory` - Factory function (called just once by DI). +- `{function()} factory` - Factory function(called just once by DI). - `{Object} config` - Configuration object with the following properties: - `$inject` - {Array.} - Array of service ids this service depends on. These services will be passed as arguments into the factory function in the same order specified in the `$inject` -- cgit v1.2.3