Sample SPA using AngularJS