ng-annotate-loader
Version:
Webpack loader that runs ng-annotate on your bundles
24 lines (21 loc) • 463 B
JavaScript
;
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);