Convert to single page app using AngularJS views