mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-17 23:53:25 +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
12 lines
414 B
JavaScript
12 lines
414 B
JavaScript
module.exports = angular.module('settings-notifications', [
|
|
require('stf/settings').name
|
|
])
|
|
.run(['$templateCache', function($templateCache) {
|
|
$templateCache.put(
|
|
'settings/notifications/notifications.pug'
|
|
, require('./notifications.pug')
|
|
)
|
|
}])
|
|
.factory('NotificationsService', require('./notifications-service'))
|
|
.controller('NotificationsCtrl', require('./notifications-controller'))
|