This uses the new $firebaseAuthService in route resolves. This allows for the removal of the authRequired and adminRequired state attributes on routes and the removal of the getCurrentUser method from authApi.
Some cleanups still to come:
Further reduction of the authApi service
Simplification of route resolves via introduction of parent states
This uses the new
$firebaseAuthService
in route resolves. This allows for the removal of theauthRequired
andadminRequired
state attributes on routes and the removal of thegetCurrentUser
method fromauthApi
.Some cleanups still to come:
authApi
service