mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 08:03:30 +02:00
Refactored controller back to screen.
This commit is contained in:
9
res/app/components/stf/screen/screen-controller.js
Normal file
9
res/app/components/stf/screen/screen-controller.js
Normal file
@@ -0,0 +1,9 @@
|
||||
module.exports = function DeviceScreenCtrl($scope, ScalingService) {
|
||||
$scope.ready = false
|
||||
$scope.displayError = false
|
||||
$scope.ScalingService = ScalingService
|
||||
|
||||
$scope.promiseOfDevice.then(function () {
|
||||
$scope.ready = true
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user