In my application I am using AngularJS and nodeJS for rest api and its working fine. But when I try to call api using for loop its having some problems. Actually only last set of Parameters are passing to the api. In my application I am using AngularJS and node