Backbone-style models for AngularJS that handle REST APIs and Firebase