Is it possible to use theAngularFire routeSecurity module with angular UI-ROUTER instead of the standard ng-route provider? Is there a version of routeSecurity that would work with ui-router?
相关问题
- adding sha1 in firebase app fails with error
- Separate AngularJS Controllers Into Separate Files
- firebase storage cors strange Behaviour
- Firebase security rules difference between get() a
- LoginActivty with Firebase & Facebook authenticati
相关文章
- How can make folder with Firebase Cloud Functions
- Firestore Update a document field Using Rest API
- How to convert a FCM token to APNS token?
- App not showing Notification receiving FCM when th
- Android Studio - Get Firebase token from GetIdToke
- How to combine Firestore orderBy desc with startAf
- Remove Duplicates from an Array of GeoFire Objects
- Is it possible to test a Firebase trigger locally?
@mattvv Gave me this gist while I was talking on him in the angular irc channel. So essentially you would just need to replace the
routesecurity.js
file in angularfire directory assuming that you used yeoman to scaffold your application.A neat thing to do is just to create another file named
routesecurity-ui-router.js
instead of replacing the content of theroutesecurity.js
.So to give a little bit of information about the gist, basically mattvv just modified the
routes
term and usestate
instead.