summaryrefslogtreecommitdiffstats
path: root/app/login/index.js
blob: d3bce4333ba5fb4d1da1021d5484bfcdd28eecc3 (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
/**
 * A module for the login
 *
 * @module app/login/index
 * @exports app/login/index
 */

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

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