/**
* @ngdoc inteligencia
* @name Inteligencia
* @module s4c.components.inteligencia.Inteligencia
*
* @description Configura a rota para a tela de inteligência
*
*
*/
(function () {
'use strict';
angular.module('s4CApp')
.config(['$stateProvider', function ($stateProvider) {
$stateProvider
.state('inteligencia', {
url: '/inteligencia',
templateUrl: 'app/components/inteligencia/inteligencia.html',
controller: 'InteligenciaCtrl',
resolve: {
'UserInfo': function (AuthService) {
return AuthService.getUserInfo();
}
}
});
}]);
}());