This is a sample that shows how to add authentication to an Angular 2 (ng2) app - auth0-blog/angular2-authentication-sample..