Optimistically cached models for Angular.JS.