Files
stf-DeviceFarmer/res/app/device-list/index.js
Gunther Brunner e1feb20df6 -Adding table ui for styling with style.
-Added device.update event so the table can reload it's data (watch would be an overkill).
2014-03-24 18:20:31 +09:00

14 lines
436 B
JavaScript

require('./device-list.css')
module.exports = angular.module('device-list', [
require('stf/device').name,
require('stf/user/group').name,
require('stf/common-ui').name
])
.config(['$routeProvider', function ($routeProvider) {
$routeProvider.when('/devices', {
template: require('./device-list.jade'),
controller: 'DeviceListCtrl'
})
}])
.controller('DeviceListCtrl', require('./device-list-controller'))