Strip internal properties before sending data to the server
Since angular/angular.js@c054288c9722875e3595e6e6162193e0fb67a251, `angular.toJson` only strips properties beginning with `$$`, and not `$`. We set properties on annotations (such as `$orphan`) so need to reimplement the earlier behaviour. I've also taken this opportunity to translate the store service to JavaScript.
Showing
h/static/scripts/store.js
0 → 100644
Please register or sign in to comment