mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-20 12:55:26 +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
15 lines
436 B
JavaScript
15 lines
436 B
JavaScript
require('angular-bootstrap')
|
|
|
|
module.exports = angular.module('ui-local-settings', [
|
|
require('stf/settings').name,
|
|
require('stf/common-ui/modals/common').name,
|
|
'ui.bootstrap'
|
|
])
|
|
.run(['$templateCache', function($templateCache) {
|
|
$templateCache.put(
|
|
'settings/general/local/local-settings.pug'
|
|
, require('./local-settings.pug')
|
|
)
|
|
}])
|
|
.controller('LocalSettingsCtrl', require('./local-settings-controller'))
|