Last active
August 7, 2016 17:26
-
-
Save ronapelbaum/8f03be3b051bdfb9eaa71d4d681afd48 to your computer and use it in GitHub Desktop.
improve your angular 1.x code style (1)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
angular.module('app').service('MyService', ['OtherService', function(OtherService){ | |
this.foo = function(){ | |
OtherService.goo(); | |
} | |
}]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment