blob: becc9b9024474f03f8eed2f44d513f11a5b446b5 [file] [log] [blame]
/**
* A module for the users
*
* @module app/users/index
* @exports app/users/index
* @version 0.0.1
*/
window.angular && (function (angular) {
'use strict';
angular
.module('app.users', [
'ngRoute',
'app.constants',
'app.common.services'
])
// Route configuration
.config(['$routeProvider', function ($routeProvider) {
$routeProvider
.when('/users/manage-accounts', {
'templateUrl': 'users/controllers/user-accounts-controller.html',
'controller': 'userAccountsController',
authenticated: true
})
.when('/users', {
'templateUrl': 'users/controllers/user-accounts-controller.html',
'controller': 'userAccountsController',
authenticated: true
});
}]);
})(window.angular);