Beginning of a SPA application with AngularJS