mirror of
https://github.com/openstf/stf
synced 2025-10-05 10:39:25 +02:00
Refactored controller back to screen.
This commit is contained in:
parent
eae8062252
commit
7e9929d77f
4 changed files with 2 additions and 6 deletions
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
|
||||
})
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue