1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-05 10:39:25 +02:00
OpenSTF/res/app/components/stf/standalone/index.js
Gunther Brunner 1eb6af0119 Replaced old jade with new pug.
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
2016-08-05 18:24:30 +09:00

17 lines
630 B
JavaScript

require('./standalone.css')
module.exports = angular.module('device-control.standalone', [
require('stf/device').name,
require('stf/control').name,
require('stf/screen').name,
require('stf/settings').name,
require('stf/screen/scaling').name
])
.run(['$templateCache', function($templateCache) {
$templateCache.put('control-panes/device-control/standalone/standalone.pug',
require('./standalone.pug')
)
}])
.controller('StandaloneCtrl', require('./standalone-controller'))
.factory('StandaloneService', require('./standalone-service'))
.directive('standalone', require('./standalone-directive'))