There's a newer version of this sample taking advantage of MSAL Angular v2.
Check it out: Angular single-page application secured with MSAL Angular v2 on Azure AD B2C
If you really need to access this sample, you can navigate to the master branch, but please know that it's no longer maintained.