commit | 4758d5be3debd098e3ce9ba703c75269ecf6f9b1 | [log] [tgz] |
---|---|---|
author | Ed Tanous <ed.tanous@intel.com> | Tue Jun 06 15:28:13 2017 -0700 |
committer | Ed Tanous <ed.tanous@intel.com> | Tue Jun 06 15:28:13 2017 -0700 |
tree | 4f899ea041a389a3e26a774ff019d4657bdcb284 | |
parent | cfbe25de0832059d2752d6cec5f1924a40f20f17 [diff] [blame] |
incremental
diff --git a/static/js/mainController.js b/static/js/mainController.js new file mode 100644 index 0000000..c0be7e7 --- /dev/null +++ b/static/js/mainController.js
@@ -0,0 +1,6 @@ +angular.module('bmcApp').controller('MainCtrl', [ + '$scope', 'AuthenticationService', + function($scope, AuthenticationService) { + $scope.is_logged_in = AuthenticationService.IsLoggedIn; + } +]); \ No newline at end of file