blob: 5a3a4b774b7fc4c246c87bb4c954bd95d3b27bec [file] [log] [blame]
require.ensure([], function(require) {
require('angular')
require('angular-route')
require('angular-touch')
angular.module('app', [
'ngRoute',
'ngTouch',
require('gettext').name,
require('angular-hotkeys').name,
require('./layout').name,
require('./device-list').name,
require('./control-panes').name,
require('./menu').name,
require('./settings').name,
require('./docs').name,
require('./user').name,
require('./../common/lang').name,
require('stf/standalone').name
])
.config(function($routeProvider, $locationProvider) {
$locationProvider.hashPrefix('!')
$routeProvider
.otherwise({
redirectTo: '/devices'
})
})
.config(function(hotkeysProvider) {
hotkeysProvider.templateTitle = 'Keyboard Shortcuts:'
})
})