incremental
diff --git a/static/js/bmcApp.js b/static/js/bmcApp.js
index d4282ba..7d31cc2 100644
--- a/static/js/bmcApp.js
+++ b/static/js/bmcApp.js
@@ -10,7 +10,6 @@
'ngResource'
]);
-
app.controller('MainCtrl', ['$scope', function($scope) {
}]);
@@ -71,8 +70,8 @@
}
}]);
-app.run(['$rootScope', '$cookieStore', '$state', '$resource', 'AuthenticationService',
- function($rootScope, $cookieStore, $state, $resource, AuthenticationService) {
+app.run(['$rootScope', '$cookieStore', '$state', '$resource', 'AuthenticationService', '$http', '$templateCache',
+ function($rootScope, $cookieStore, $state, $resource, AuthenticationService, $http, $templateCache) {
if ($rootScope.globals == undefined){
$rootScope.globals = {};
}
@@ -91,6 +90,8 @@
$state.go('login');
}
});
+
+ $http.get('static/partial-kvm.html', { cache: $templateCache });
}
]);