module Sfx { export class HeaderAlertController { static $inject = [ "$scope" , "dataService" ] ; clusterUpgradeProgress : ClusterUpgradeProgress ; constructor ( private data , private $scope ) { this . clusterUpgradeProgress = this . data . clusterUpgradeProgress ; } public getUpgradeDomainProgress ( ) { return `(${ this . clusterUpgradeProgress . getCompletedUpgradeDomains ( ) } / ${ this . clusterUpgradeProgress . upgradeDomains . length } UDs completed)` ; } } ( function ( ) { let module = angular . module ( "headerAlertController" , [ ] ) ; module . controller ( "HeaderAlertController" , [ "data" , "$scope" , HeaderAlertController ] ) ; } ) ( ) ; }