summaryrefslogtreecommitdiffstats
path: root/app/profile-settings/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/profile-settings/index.js')
-rw-r--r--app/profile-settings/index.js25
1 files changed, 25 insertions, 0 deletions
diff --git a/app/profile-settings/index.js b/app/profile-settings/index.js
new file mode 100644
index 0000000..77947a7
--- /dev/null
+++ b/app/profile-settings/index.js
@@ -0,0 +1,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