mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 08:03:30 +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
13 lines
351 B
JavaScript
13 lines
351 B
JavaScript
require('./shell.css')
|
|
|
|
module.exports = angular.module('stf.shell', [
|
|
require('stf/common-ui').name,
|
|
require('gettext').name
|
|
])
|
|
.run(['$templateCache', function($templateCache) {
|
|
$templateCache.put('control-panes/dashboard/shell/shell.pug',
|
|
require('./shell.pug')
|
|
)
|
|
}])
|
|
.controller('ShellCtrl', require('./shell-controller'))
|