blob: 1972c4c59f3e147b384d8c5fba6fe86f01d6cda0 [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
Andrew Geisslerba5e3f32018-05-24 10:58:00 -07008window.angular && (function(angular) {
9 'use strict';
Iftekharul Islamcd789502017-04-19 14:37:55 -050010
Andrew Geisslerba5e3f32018-05-24 10:58:00 -070011 angular
Gunnar Mills2b9a0d92018-07-11 15:10:08 -050012 .module('app.users', ['ngRoute', 'app.common.services'])
Andrew Geisslerd27bb132018-05-24 11:07:27 -070013 // Route configuration
14 .config([
15 '$routeProvider',
16 function($routeProvider) {
17 $routeProvider
18 .when('/users/manage-accounts', {
19 'template':
20 require('./controllers/user-accounts-controller.html'),
21 'controller': 'userAccountsController',
22 authenticated: true
23 })
24 .when('/users', {
25 'template':
26 require('./controllers/user-accounts-controller.html'),
27 'controller': 'userAccountsController',
28 authenticated: true
29 });
30 }
31 ]);
Iftekharul Islamcd789502017-04-19 14:37:55 -050032
33})(window.angular);