Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $urlRouterProvider.otherwise('/');
- $stateProvider
- .state('resumo', {
- url: '/',
- templateUrl: 'views/home/resumo.html',
- controller: 'IndexCtr'
- }).state('resumo.mapa', {
- url: 'mapa/:imei',
- templateUrl: 'views/testes/mapa.html',
- controller: 'TesteCtr'
- }).state('cliente', {
- url: '/cliente',
- templateUrl: 'views/cliente/index.html'
- }).state('cliente.listar', {
- url: '/listar',
- templateUrl: 'views/cliente/clientes.html',
- controller: function($scope) {
- $scope.clientes = ['Rogerio Alencar', 'Yolanda S2', 'Cristina WhatsApp'];
- }
- }).state('anuncio', {
- url: '/anuncio',
- templateUrl: 'views/cliente/anuncio/index.html',
- controller: 'AnuncioCtr'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement