diff options
Diffstat (limited to 'app/main/dashboard/home')
-rw-r--r-- | app/main/dashboard/home/home.controller.js | 16 | ||||
-rw-r--r-- | app/main/dashboard/home/home.html | 1 | ||||
-rw-r--r-- | app/main/dashboard/home/home.less | 5 | ||||
-rw-r--r-- | app/main/dashboard/home/home.module.js | 25 |
4 files changed, 47 insertions, 0 deletions
diff --git a/app/main/dashboard/home/home.controller.js b/app/main/dashboard/home/home.controller.js new file mode 100644 index 0000000..3604530 --- /dev/null +++ b/app/main/dashboard/home/home.controller.js @@ -0,0 +1,16 @@ +(function () { + + 'use strict'; + + angular + .module('dcaeApp.dashboard.home') + .controller('DashboardHomeController', dashboardHomeController); + + function dashboardHomeController($state) { + + var vm = this; + + + } + +})(); diff --git a/app/main/dashboard/home/home.html b/app/main/dashboard/home/home.html new file mode 100644 index 0000000..ae27a0b --- /dev/null +++ b/app/main/dashboard/home/home.html @@ -0,0 +1 @@ +<h1>This is home</h1> diff --git a/app/main/dashboard/home/home.less b/app/main/dashboard/home/home.less new file mode 100644 index 0000000..fb5647d --- /dev/null +++ b/app/main/dashboard/home/home.less @@ -0,0 +1,5 @@ +.home { + h1 { + font-size: 160px; + } +} diff --git a/app/main/dashboard/home/home.module.js b/app/main/dashboard/home/home.module.js new file mode 100644 index 0000000..e496791 --- /dev/null +++ b/app/main/dashboard/home/home.module.js @@ -0,0 +1,25 @@ +(function () { + + 'use strict'; + + angular + .module('dcaeApp.dashboard.home', []) + .config(config); + + function config($stateProvider) { + + $stateProvider + .state('dcae1.app.home', { + url: '/home', + views: { + 'content@dcae.app': { + templateUrl: 'main/dashboard/home/home.html', + controller: 'DashboardHomeController as vm' + } + }, + bodyClass: 'home' + }); + + } + +})(); |