【发布时间】:2015-03-22 22:53:46
【问题描述】:
我有这个表格
<form ng-submit="addState()">
<input ng-model="text1" type="text">
<input ng-model="text2" type="text">
<input ng-model="text3" type="text">
</form>
还有这个 JS
mainAppControllers.controller('DoarScanCtrl', ['$scope', '$routeParams', '$location',
function($scope, $routeParams, $location){
}
]);
所以首先我需要将数据保存在本地存储中,然后我需要一个 json
感谢您的帮助!
【问题讨论】:
-
你要保存到localStorage的数据是什么?
标签: javascript json angularjs local-storage