angular2Auth0‘s standard Angular 2 quick-start uses SystemJS and loads the Auth0 Javascript files globally from index.html. That’s fine for demo purposes, but not ideal for production. I’ve created a github repo (and some additional notes in this gist) that demonstrates using Auth0 with an Angular 2 app generated with angular-cli. This example loads Auth0 as modules and lets Webpack bundle it with the rest of your Javascript.