I don't know if this is officially "outside the scope" of Angular.js, but my gut feeling is that it would fit in nicely. In many applications, two-way data binding is only as useful as your ability to persist that data. And that's not usually that easy to do (unless you just round-trip everything).
I'd be super interested in working on this with whoever else might be interested.
--
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To post to this group, send email to ang...@googlegroups.com.
To unsubscribe from this group, send email to angular+u...@googlegroups.com.
Visit this group at http://groups.google.com/group/angular?hl=en.
Visit this group at http://groups.google.com/group/angular?hl=en-US.
You could have a look at couchapps on touchdb if you plan to run on a mobile device.
Pete
...from my mobile.
There is also an android version. The idea is that the couchdb serves up the web app locally providing data storage and then syncs with the server when it is online. Since the web app is stored in the couchdb too it is data that can also be synced making application updates a cinch!
Pete
...from my mobile.
--
You received this message because you are subscribed to a topic in the Google Groups "AngularJS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/angular/FTB-UswCzh8/unsubscribe?hl=en-US.
To unsubscribe from this group and all its topics, send an email to angular+u...@googlegroups.com.
Visit this group at http://groups.google.com/group/angular?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.
Paradox: Life is a mystery. Don't waste time trying to figure it out. / Humor: Keep a sense of humor, especially about yourself. It is a strength beyond all measure. / Change: Know that nothing stays the same.
To unsubscribe from this group and stop receiving emails from it, send an email to angular+u...@googlegroups.com.
JavaScript
$scope.$storage = $localStorage.$default({
x: 42
});HTML
<button ng-click="$storage.x = $storage.x + 1">{{$storage.x}}</button>--
You received this message because you are subscribed to a topic in the Google Groups "AngularJS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/angular/FTB-UswCzh8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to angular+u...@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
--