app/scripts/controllers/index.js
Function controller
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
controller: function($scope, $window, i18n, appConfigService, deviceInfoFactory, backgroundSyncService, analyticsSyncService) {
$scope.states = {
online: i18n('online'),
offline: i18n('offline')
Function controller
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
controller: function($scope, $window, i18n, appConfigService, deviceInfoFactory, backgroundSyncService, analyticsSyncService) {