Use $loaded With Firebase and AngularFire

A few times now, I've run into issues with my app while using Firebase / AngularFire. The documentation in the guide, shows samples like this: var sync = $firebase(ref); // create a synchronized object, all server changes are downloaded in realtime var profileObject = sync.$asObject(); With that sample code above, you'll get…

Firebase Rate Limiting Proposal

I was digging around trying to find some means to do rate limiting on Firebase references. I found this answer on StackOverflow that describes a method to do it. At first blush, I assumed this only works for a client that respects the rules and writes to last_message faithfully…

Firebase Local Storage Client Feature

I've been rewriting the Kids In Touch app to use Firebase as my backend. As I've plodded along, I've come across a few ideas that I think would make good features to add to Firebase. Today, I made a feature request to Firebase for an API to store information only…

Combining Firebase Rules for My Sanity

I've been working on replacing the Kids In Touch API with Firebase. I've struggled a bit with the rules system. It's pretty complicated putting the rules for an entire API in a single, understandable file. To help with this, Firebase has released their new Blaze compiler. It seems pretty awesome…

AngularJS Form Names Conflict with Scope Methods

I discovered a strange little problem today. When working with forms in Angular, the form name cannot be the same as the name of a method on the scope. Example: <form name="changePassword" ng-submit="changePassword()"> <input type="password" ng-model="data.password" /> </form> ... $scope.changePassword…

User Authentication with Ionic and Firebase

I'm rewriting Kids In Touch right now with Firebase as the backend. I'm really pleased with how things are going. Developing with Firebase is so much easier than dealing with my old REST API. Today, I was dealing with logging users into the app. Most examples I found online have…