1/** 2 * A module for the login 3 * 4 * @module app/login/index 5 * @exports app/login/index 6 */ 7 8window.angular && (function(angular) { 9 'use strict'; 10 11 angular 12 .module('app.login', ['ngRoute', 'app.common.services']) 13 // Route configuration 14 .config([ 15 '$routeProvider', 16 function($routeProvider) { 17 $routeProvider.when('/login', { 18 'template': require('./controllers/login-controller.html'), 19 'controller': 'LoginController', 20 authenticated: false 21 }); 22 } 23 ]); 24})(window.angular); 25