converted to a single page with AngularJS routing