1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-05 02:29:26 +02:00
OpenSTF/res/app/app.js
2014-03-07 19:11:04 +09:00

22 lines
463 B
JavaScript

require('angular')
require('angular-route')
//require('se7en-bootstrap-3/build/stylesheets/bootstrap.min.css')
angular.module('app', [
'ngRoute',
require('./device-list').name,
require('./device-control').name
])
.config(['$routeProvider', '$locationProvider',
function ($routeProvider, $locationProvider) {
$locationProvider.hashPrefix('!');
$routeProvider
.otherwise({
redirectTo: '/devices'
})
}
])