Update Tree.js

angular style