You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** * @ngdoc service * @name Dashboard.service:myService * @description My Service */angular.module('Dashboard',[]).service('myService',function(){});
Provider
/** * @ngdoc service * @name Dashboard.service:myServiceProvider * @description My Provider */angular.module('Dashboard',[]).provider('myProvider',function(){});
Factory
/** * @ngdoc service * @name Dashboard.service:myFactory * @description My Factory */angular.module('Dashboard',[]).factory('myFactory',function(){});
Value
/** * @ngdoc service * @name Dashboard.service:myValue * @description My Value */angular.module('Dashboard',[]).value('myValue',42);
Constant
/** * @ngdoc service * @name Dashboard.service:myConstant * @description My Constant */angular.module('Dashboard',[]).constant('myConstant',42);
Method
/** * @ngdoc method * @name methodName * @methodOf Dashboard.service:myService * @description This method will return a list of users * @param {Boolean} boolParam Boolean flag to indicate something * @returns {Array} List of users */this.getUsers=function(boolParam){returnusers;}
Property
/** * @ngdoc property * @name propertyName * @propertyOf Dashboard.service:myService * @returns {String} Name of the module */appName: 'Dashboard',