An overview how to build a SPA with AngularJS