I am working on a form that looks like this:
$scope.forms = [{}, {}];
<div classs="" ng-repeat="each_form in forms">
<input class="" model="each_form.name"> Name
<input class="" model="each_form.email"> Email
<input class="" model="each_form.phone"> Phone Number
</div>
Currently, I am passing $scope.forms to $stateParams by including all the data in the parameters:
$state.go('form_details', {params: forms});
==my app.js
.state('form_details', {
url: '/form_details?params',
templateUrl: 'views/form_details.html',
})
However, passing data this way results in an unreadable URL. Therefore, I am wondering if there is a way to pass this form data in a more readable format. I hope my question is clear.