moved the render tree to angularjs app directive
now reloads the page when reload is clicked
Added the node details to the view