Adding SPA using AngularJs