/**
* @ngdoc legenda
* @name Legenda
* @module s4c.components.legenda.Legenda
*
* @description Configura a rota para o módulo de legenda
*
*
*/
(function () {
'use strict';
angular.module('s4CApp')
.config(['$stateProvider', function ($stateProvider) {
$stateProvider
.state('Legenda', {
url: '/Legenda/:id',
templateUrl: 'app/components/legenda/legenda.html',
controller: 'LegendaCtrl',
resolve: {
'UserInfo': function (AuthService) {
return AuthService.getUserInfo();
}
}
});
}]);
}());