I have a list of list of input fields in options. Now, I am adding these input fields to my page using ng-repeat.
<input type="text">
I have their input types in the same options object which is repeating. These types are like this: String, Varchar, etc.
Now, I want to set type of input field according to the parameter type i have.
Here is what i want to do
<tr ng-repeat = "option in options">
<td><input type="text" ></td>
</tr>
I have a parameter named option.Paramtype which contains type of each input field. I want to set the type of input field as number if it is Int and so on.
Please help.