Refactored controller back to screen.

This commit is contained in:
Gunther Brunner
2014-02-19 22:57:51 +09:00
parent eae8062252
commit 7e9929d77f
4 changed files with 2 additions and 6 deletions

View File

@@ -1,9 +0,0 @@
module.exports = function DeviceScreenCtrl($scope, ScalingService) {
$scope.ready = false
$scope.displayError = false
$scope.ScalingService = ScalingService
$scope.promiseOfDevice.then(function () {
$scope.ready = true
})
}

View File

@@ -1,4 +0,0 @@
module.exports = angular.module('device-screen-controller', [
require('stf/screen/scaling').name
])
.controller('DeviceScreenCtrl', require('./device-screen-controller'))

View File

@@ -4,7 +4,6 @@ module.exports = angular.module('device-control', [
require('stf/device').name,
require('stf/control').name,
require('stf/screen').name,
require('./device-screen').name
])
.config(['$routeProvider', function ($routeProvider) {
$routeProvider.when('/devices/:serial', {