Mansi,Aravind | refactored treeview directive