24 lines
463 B
JavaScript
24 lines
463 B
JavaScript
'use strict';
|
|
|
|
function namedFunction($dep) {
|
|
$dep.do();
|
|
}
|
|
|
|
angular.module('test', [])
|
|
.controller('testCtrl', function($scope) {
|
|
})
|
|
.factory('testFactory', function($cacheFactory) {
|
|
return {};
|
|
})
|
|
.service('testNotAnnotated', function() {
|
|
return {};
|
|
})
|
|
.directive('testDirective', function ($timeout) {
|
|
return {
|
|
restrict: 'E',
|
|
controller: function($scope) {
|
|
},
|
|
};
|
|
})
|
|
.service('namedFunction', namedFunction);
|