mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 16:13:24 +02:00
Using temporarily npm-shrinkwrap since `template-html-loader` uses an old `consolidate.js` version which doesn't support `pug`. Follow here: https://github.com/jtangelder/template-html-loader/issues/8
16 lines
504 B
JavaScript
16 lines
504 B
JavaScript
module.exports = angular.module('stf.dashboard', [
|
|
require('./navigation/index').name,
|
|
require('./shell/index').name,
|
|
require('./install/index').name,
|
|
require('./apps/index').name,
|
|
require('./clipboard/index').name,
|
|
require('./remote-debug/index').name
|
|
])
|
|
.run(['$templateCache', function($templateCache) {
|
|
$templateCache.put(
|
|
'control-panes/dashboard/dashboard.pug'
|
|
, require('./dashboard.pug')
|
|
)
|
|
}])
|
|
.controller('DashboardCtrl', require('./dashboard-controller'))
|