HasanAboShally
HasanAboShally

Reputation: 18685

angularFireAuth with ui-route

I'm trying to use angularFireAuth (from AngularFire - Firebase) with ui-route.

The problem is that the angularFireAuth needs ng-route as a dependency, so I will have to include it in my module.

The only way working now is to include the ng-route in my module but not to configure it.

Is there any better way ?

Thanks

Upvotes: 0

Views: 159

Answers (1)

trekforever
trekforever

Reputation: 3922

Grab the latest angularFire.js from their repo: https://github.com/firebase/angularFire/blob/master/angularfire.js

They removed the dependency for ng-route in the latest version

Upvotes: 3

Related Questions