implemented angular directives for webtop

Not a huge change but gives the html a more custom and readable feel.