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