javascript - Save results of Angular form in JSON locally -
i want make form (in angularjs) when submitted saved locally , can accessed later. code need both read , write json file, or can learn how this?
i grevory's local storage service: https://github.com/grevory/angular-local-storage
you can take @ html5 web sql: http://www.tutorialspoint.com/html5/html5_web_sql.htm not sure of support, though.
as string handling portion, angular has this: http://docs.angularjs.org/api/angular.tojson , http://docs.angularjs.org/api/angular.fromjson
Comments
Post a Comment