using angular to create a SPA