refactor(dashboard): Restructured front-end dashboard code.
This commit is contained in:
7
mod/dashboard/app/scripts/controllers/root.js
Normal file
7
mod/dashboard/app/scripts/controllers/root.js
Normal file
@ -0,0 +1,7 @@
|
||||
angular.module('etcdControlPanel')
|
||||
.controller('RootCtrl', function($rootScope, prefixUrl) {
|
||||
|
||||
// Expose prefixUrl() function to all.
|
||||
$rootScope.prefixUrl = prefixUrl;
|
||||
|
||||
});
|
Reference in New Issue
Block a user