src/app/core/config/config.js
Function runFactory
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Run()
@Inject('$rootScope', '$state', '$log', 'AuthenticationService')
//end-non-standard
static runFactory($rootScope, $state, $log, AuthenticationService){
$rootScope.currentUser = AuthenticationService.getCurrentUser();