SPA using Typescript and Angular