I am working on a form with the following fields:
<form ng-submit="addState()">
<input ng-model="text1" type="text">
<input ng-model="text2" type="text">
<input ng-model="text3" type="text">
</form>
In addition, I have some JavaScript code:
mainAppControllers.controller('DoarScanCtrl', ['$scope', '$routeParams', '$location',
function($scope, $routeParams, $location){
}
]);
My goal is to first save the data in local storage and then convert it into JSON format.
Any assistance with this would be greatly appreciated. Thank you!