Dynamic survey with Angular JS and asp.net
<p>I am trying to build an application similar to survey monkey. I am planning to use AngularJS and Asp.net MVC. I have SurveyQuestion table in database which holds information about question text and type of control. Let's say for now if we have two rows in SurveyQuestion table indicating that there would be two Textbox questions on survey page. I want to load question text from database and based on question type show appropriate HTML control in UI(in this case it will be just two textboxes) using angular. I created angular controller for textbox and using ng-model I populated value in both textboxes, but if I change value in one textbox it is changing value in another textbox which I believe is the purpose of ng-model. Can you please advise how do I approach overhere.  I also need to save response from textbox to database when uses clicks out of textbox i.e on ng-blur event I want to save response to database.</p>