[Client] fix subviews livereload and use globals like angularjs preconizes