i am building a project where we have one url input tag, which have its respective url mappings which needs to accept only URL and a add button to repeat two input tags from below scenerio: url1 have urla -> urlb, urlc->urld, urle->urlf,....it has add button add as many as mappings. On save we need to send this json format to post API. required json format : { url1: { urla : urlb, urlc : urld, urle : urlf,... }, url2:{ urlg : urlh, urli: url,..... },...... } ISSUE : i m unable to get the required json format from my code. ` HTML <div> <input id="url" type="text" ng-model=""> </div> <div id="maprow1" class="row mt-5" ng-repeat="(privateUrl, publicUrl) in urlMappings track by $index"> <input id="privateurl1" type="text" class="form-control input-text http-input" ng-model="urlMappings.privateUrl"> <input id="publicurl1" type=&quo
A site where you can share knowledge