AngularJS directive for the OAuth 2.0 Implicit Flow