Skip to content

Instantly share code, notes, and snippets.

@JakeTheCorn
Created January 22, 2018 15:46
Show Gist options
  • Save JakeTheCorn/e173be19f65f27f2b42692b163601cac to your computer and use it in GitHub Desktop.
Save JakeTheCorn/e173be19f65f27f2b42692b163601cac to your computer and use it in GitHub Desktop.
(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