TypeScript/Angular example was a bit outdated