1/** 2 * A module for the overview 3 * 4 * @module app/overview/index 5 * @exports app/overview/index 6 * @version 0.0.1 7 */ 8 9window.angular && (function (angular) { 10 'use strict'; 11 12 angular 13 .module('app.overview', [ 14 'ngRoute', 15 'app.constants', 16 'app.common.services' 17 ]) 18 // Route configuration 19 .config(['$routeProvider', function ($routeProvider) { 20 $routeProvider 21 .when('/overview/system', { 22 'templateUrl': 'overview/controllers/system-overview-controller.html', 23 'controller': 'systemOverviewController', 24 authenticated: true 25 }) 26 .when('/overview', { 27 'templateUrl': 'overview/controllers/system-overview-controller.html', 28 'controller': 'systemOverviewController', 29 authenticated: true 30 }); 31 }]); 32 33})(window.angular); 34