Strategy-based modular auth for AngularJS