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
13 lines
399 B
JavaScript
13 lines
399 B
JavaScript
module.exports = angular.module('ui-settings', [
|
|
require('./general').name,
|
|
require('./keys').name,
|
|
require('stf/common-ui/nice-tabs').name
|
|
//require('./notifications').name
|
|
])
|
|
.config(['$routeProvider', function($routeProvider) {
|
|
$routeProvider.when('/settings', {
|
|
template: require('./settings.pug')
|
|
})
|
|
}])
|
|
.controller('SettingsCtrl', require('./settings-controller'))
|