summaryrefslogtreecommitdiffstats
path: root/app/profile-settings/index.js
blob: 77947a762a26a090f3cbd7ce75bd3679cc6ebe9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/**
 * A module for the Profile Settings page
 *
 * @module app/profile-settings/index
 * @exports app/profile-settings/index
 */

window.angular && (function(angular) {
  'use strict';

  angular
      .module('app.profileSettings', ['ngRoute', 'app.common.services'])
      // Route configuration
      .config([
        '$routeProvider',
        function($routeProvider) {
          $routeProvider.when('/profile-settings', {
            'template':
                require('./controllers/profile-settings-controller.html'),
            'controller': 'profileSettingsController',
            authenticated: true
          })
        }
      ]);
})(window.angular);
OpenPOWER on IntegriCloud