You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
370 B
19 lines
370 B
(function () {
|
|
'use strict';
|
|
|
|
angular
|
|
.module('app')
|
|
.factory('SimpleService', Service);
|
|
|
|
function Service($log) {
|
|
var service = {
|
|
DoSomething: doSomething
|
|
};
|
|
|
|
return service;
|
|
|
|
function doSomething() {
|
|
$log.info('something done!');
|
|
}
|
|
}
|
|
})();
|