'use strict';

/* 
 * User module
 */
angular
	.config([
		'$stateProvider',
		function($stateProvider) {

			$stateProvider
				.state('user', {
					url: '/user/:userName',
					controller: 'UserCtrl',
					templateUrl: '/views/user/show.html'
				})
				.state('user.layers', {
					url: '/user/:userName/layers',
					templateUrl: '/views/user/layers.html'
				});
				.state('user.maps', {
					url: '/user/:userName/maps',
					templateUrl: '/views/user/maps.html'
				});
		}
	])
	.module('mapasColetivos.user', [])
	.factory('User', require('./service').User)
	.controller('UserCtrl', require('./controller').UserCtrl);
@@ -39,16 +39,52 @@
 angular%0A
+%09.module('mapasColetivos.user', %5B%5D)%0A
 %09.config
@@ -322,31 +322,16 @@
 %09url: '/
-user/:userName/
 layers',
@@ -327,24 +327,24 @@
  '/layers',%0A
+
 %09%09%09%09%09templat
@@ -381,17 +381,16 @@
 '%0A%09%09%09%09%7D)
-;
 %0A%09%09%09%09.st
@@ -424,23 +424,8 @@
 : '/
-user/:userName/
 maps
@@ -485,48 +485,12 @@
 %09%09%7D%0A
+
 %09%5D)%0A
-%09.module('mapasColetivos.user', %5B%5D)%0A
 %09.fa

fix app config