diff --git a/app/js/filters/percentage.js b/app/js/filters/percentage.js index 2afd640f..484acfe2 100644 --- a/app/js/filters/percentage.js +++ b/app/js/filters/percentage.js @@ -2,6 +2,9 @@ var filtersModule = require('./_index.js'); +/** + * @ngInject + */ function percentage($filter) { return function(input, decimals) { return $filter('number')(input * 100, decimals || 2) + '%'; diff --git a/app/js/services/config.js b/app/js/services/config.js index 9e07051d..1f7068b8 100644 --- a/app/js/services/config.js +++ b/app/js/services/config.js @@ -2,6 +2,9 @@ var servicesModule = require('./_index.js'); +/** + * @ngInject + */ function ConfigService($http, $log, $q) { var service = {}; diff --git a/app/js/services/health-api.js b/app/js/services/health-api.js index d4c56c56..b44ab2c8 100644 --- a/app/js/services/health-api.js +++ b/app/js/services/health-api.js @@ -4,8 +4,14 @@ var angular = require('angular'); var servicesModule = require('./_index.js'); +/** + * @ngInject + */ function httpProviderInterceptor($httpProvider) { - $httpProvider.interceptors.push(function($q, $rootScope) { + /** + * @ngInject + */ + $httpProvider.interceptors.push(/* @ngInject */ function($q, $rootScope) { return { 'request': function(config) { $rootScope.$broadcast('loading-started'); @@ -21,6 +27,9 @@ function httpProviderInterceptor($httpProvider) { servicesModule.config(httpProviderInterceptor); +/** + * @ngInject + */ function HealthService($http, config) { var service = {};