Check this out:
github.com/jmelberg-okta/okta-oidc-angular-1-samp…
Is okta a requirement? You could easily use Firebase wrapper for AngularJS (AngularFire) to build an authentication system. This is what I have used in the past. It supports username + password, tokens, social media logins, plus others. You can look at that here: