An model layer for Angular inspired by Backbone.Model