Angular quickstart incompatible with latest version of angular2-jwt

A simple fix for the quickstart would be:

localStorage.setItem('token', authResult.idToken);

The previous content was provided by @lettau.ralph in the question body itself, I’m providing it as an answer for discoverability reasons.