Change navigation structure
Change-Id: I12c819293ce1eda188dc9f257ae9370f1b73cb18
Signed-off-by: Iftekharul Islam <iislam@us.ibm.com>
diff --git a/app/index.js b/app/index.js
index f799e29..11c3576 100644
--- a/app/index.js
+++ b/app/index.js
@@ -16,6 +16,8 @@
.module('app', [
// Dependencies
'ngRoute',
+ 'angular-clipboard',
+ 'angularUtils.directives.dirPagination',
// Basic resources
'app.constants',
'app.templates',
@@ -25,7 +27,12 @@
'app.common.filters',
// Model resources
'app.login',
- 'app.overview'
+ 'app.overview',
+ 'app.serverControl',
+ 'app.serverHealth',
+ 'app.configuration',
+ 'app.firmware',
+ 'app.users'
])
// Route configuration
.config(['$routeProvider', '$locationProvider', function ($routeProvider, $locationProvider) {
@@ -35,6 +42,9 @@
'redirectTo': '/login'
});
}])
+ .config(['$compileProvider', function ($compileProvider) {
+ $compileProvider.aHrefSanitizationWhitelist(/^\s*(https?|ftp|mailto|tel|file|data|blob):/);
+ }])
.config(['$httpProvider', function($httpProvider){
$httpProvider.defaults.timeout = 10000;
$httpProvider.interceptors.push('apiInterceptor');