blob: d238b97786b24f8c119ba40af7d89596cd1e5e1e [file] [log] [blame]
Iftekharul Islamcd789502017-04-19 14:37:55 -05001/**
2 * A module for the users
3 *
4 * @module app/users/index
5 * @exports app/users/index
Iftekharul Islamcd789502017-04-19 14:37:55 -05006 */
7
8window.angular && (function (angular) {
9 'use strict';
10
11 angular
12 .module('app.users', [
13 'ngRoute',
14 'app.constants',
15 'app.common.services'
16 ])
17 // Route configuration
18 .config(['$routeProvider', function ($routeProvider) {
19 $routeProvider
Michael Davis71ec7452017-04-24 16:28:57 -050020 .when('/users/manage-accounts', {
Ed Tanousbbcf6702017-10-06 13:53:06 -070021 'template': require('./controllers/user-accounts-controller.html'),
Iftekharul Islamcd789502017-04-19 14:37:55 -050022 'controller': 'userAccountsController',
23 authenticated: true
24 })
25 .when('/users', {
Ed Tanousbbcf6702017-10-06 13:53:06 -070026 'template': require('./controllers/user-accounts-controller.html'),
Iftekharul Islamcd789502017-04-19 14:37:55 -050027 'controller': 'userAccountsController',
28 authenticated: true
29 });
30 }]);
31
32})(window.angular);