Single Page Application sample with AngularJS