Files
stf-DeviceFarmer/res/app/device-list/index.js
2014-03-17 20:08:26 +09:00

20 lines
598 B
JavaScript

require('./device-list.css')
require('script!ng-table/ng-table')
require('ng-table/ng-table.css')
module.exports = angular.module('device-list', [
require('stf/device').name,
require('stf/user/group').name,
require('stf/common/nothing-to-show').name,
'ngTable'
])
.config(['$routeProvider', function ($routeProvider) {
$routeProvider.when('/devices', {
template: require('./device-list.jade'),
controller: 'DeviceListCtrl'
})
}])
.controller('DeviceListCtrl', require('./device-list-controller'))
.controller('ShellCommandCtrl', require('./shell-controller'))