Shift to AngularJS

First attempt at using AngularJS in the webpage.