module Sfx { export class TreeViewController extends ControllerWithResolver { private treeService : ClusterTreeService ; private get tree ( ) : TreeViewModel { return this . treeService . tree ; } constructor ( $injector ) { super ( $injector ) ; this . treeService = $injector . get < ClusterTreeService > ( "clusterTree" ) ; } public enterBeta ( ) { const originalUrl = location . href . replace ( 'old.html' , 'index.html' ) ; window . location . assign ( originalUrl ) ; } } ( function ( ) { let module = angular . module ( "treeViewController" , [ ] ) ; module . controller ( "TreeViewController" , [ "$injector" , TreeViewController ] ) ; } ) ( ) ; }