Created
January 22, 2018 15:46
-
-
Save JakeTheCorn/e173be19f65f27f2b42692b163601cac to your computer and use it in GitHub Desktop.
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
(function() { | |
'use strict'; | |
angular.module('app') | |
.provider('AppExampleService', AppExampleServiceProvider); | |
function AppExampleServiceProvider() { | |
var state = {}; | |
return { | |
$get: _$get | |
} | |
function _$get() { | |
return { | |
sayHello: sayHello | |
} | |
function sayHello() { | |
return 'hello'; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment