Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d156a7 commit 14d3e55Copy full SHA for 14d3e55
src/auto/injector.js
@@ -485,15 +485,15 @@ function annotate(fn) {
485
* {@link AUTO.$provide#methods_service $provide.service(class)} that is defined as a CoffeeScript class.
486
* <pre>
487
* class Ping
488
- * constructor: (@$http)->
489
- * send: ()=>
+ * constructor: (@$http) ->
+ * send: () =>
490
* @$http.get('/ping')
491
*
492
* $provide.service('ping', ['$http', Ping])
493
* </pre>
494
* You would then inject and use this service like this:
495
496
- * someModule.controller 'Ctrl', ['ping', (ping)->
+ * someModule.controller 'Ctrl', ['ping', (ping) ->
497
* ping.send()
498
* ]
499
0 commit comments