enginous/angular-oauth — pull request #4 by vperron (2013-06-29 22:19:06+00:00)
Title: Depend on Angular stable, use new bower.json naming, fix bug when jQuery is present

Hello,

I have made a few changes in the code since I'll be probably using this in one of my projects.
For that project and many others the policy is towards long-term stability and durability; it did seem to me reasonable to depend on a stable version of angular, and the lowest the better...

Also, since bower is slowly deprecating component.json, it's better to switch to that; I think it's better not to follow the bad habit of keeping it as 'component.json', it just slows down the advance of bower.

Finally, I found a quite nasty bug when used with some versions of jQuery; jQuery does redefine the Event object, in those cases the properties we are lokking for (the token for instance) are no more in event.data but in event.originalEvent.data.

Of course the change takes care of both cases. Tell me what you think !

Best regards,