text: 'use strict';
  
  // Setting up route
  angular.module('users').config(['$stateProvider','$urlRouterProvider',
  	function($stateProvider,$urlRouterProvider) {
  		// For any unmatched url, send to /route1
  		$urlRouterProvider.otherwise("/signin")
  		// Users state routing
  		$stateProvider
  		.state('profile', {
  			url: '/settings/profile',
  			templateUrl: 'modules/users/views/settings/edit-profile.client.view.html'
  		})
  		.state('password', {
  			url: '/settings/password',
  			templateUrl: 'modules/users/views/settings/change-password.client.view.html'
  		})
  		.state('accounts', {
  			url: '/settings/accounts',
  			templateUrl: 'modules/users/views/settings/social-accounts.client.view.html'
  		})
  		.state('signup', {
  			url: '/signup',
  			templateUrl: 'modules/users/views/authentication/signup.client.view.html'
  		})
  		.state('signin', {
  			url: '/signin',
  			templateUrl: 'modules/users/views/authentication/signin.client.view.html'
  		})
  		.state('admin_forgot_password', {
  			url: '/password/admin/forgot',
  			templateUrl: 'modules/users/views/password/forgot-password.admin.view.html'
  		})
  		.state('forgot', {
  			url: '/password/forgot',
  			templateUrl: 'modules/users/views/password/forgot-password.client.view.html'
  		})
  		.state('reset-invalid', {
  			url: '/password/reset/invalid',
  			templateUrl: 'modules/users/views/password/reset-password-invalid.client.view.html'
  		})
  		.state('reset-success', {
  			url: '/password/reset/success',
  			templateUrl: 'modules/users/views/password/reset-password-success.client.view.html'
  		})
  		.state('reset', {
  			url: '/password/reset/:token',
  			templateUrl: 'modules/users/views/password/reset-password.client.view.html'
  		})
  		.state('vendor-thanks', {
  			url: '/vendor/success',
  			templateUrl: 'modules/users/views/settings/vendor-thanks.client.view.html'
  		})
  		.state('add-client', {
  			url: '/client/signup',
  			templateUrl: 'modules/users/views/authentication/clientSignup.client.view.html'
  		});
  	}
  ]);