Skip to content

Instantly share code, notes, and snippets.

@johnz
Created February 18, 2015 02:23
Show Gist options
  • Save johnz/7f536abc6168e0250739 to your computer and use it in GitHub Desktop.
Save johnz/7f536abc6168e0250739 to your computer and use it in GitHub Desktop.
(function () {
'use strict';
angular.module('pollinator').service('service', myService);
myService.$inject = ['bbb', 'ccc'];
function myService(bbb, ccc){
// api
var service = {
getABc: getAbc,
getDef: getDef
};
return service;
// implementation
function getAbc(){
}
function getDef(){
}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment