blob: 6814d0d9997cbbb490e7b83c40a19bd869f03d06 [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
6 * @version 0.0.1
7 */
8
9window.angular && (function (angular) {
10 'use strict';
11
12 angular
13 .module('app.users', [
14 'ngRoute',
15 'app.constants',
16 'app.common.services'
17 ])
18 // Route configuration
19 .config(['$routeProvider', function ($routeProvider) {
20 $routeProvider
21 .when('/users/manage-user-accounts', {
22 'templateUrl': 'users/controllers/user-accounts-controller.html',
23 'controller': 'userAccountsController',
24 authenticated: true
25 })
26 .when('/users', {
27 'templateUrl': 'users/controllers/user-accounts-controller.html',
28 'controller': 'userAccountsController',
29 authenticated: true
30 });
31 }]);
32
33})(window.angular);