I'm attempting to incorporate Angular Material inputs based on a numerical value provided by the user.
var inputArray = [];
for(var i=0; i<vm.boxQty; i++)
{
inputArray.push("<md-input-container><input type='text' data-ng-model='vm.trackingNumber'></md-input-container>");
}
angular.element('.box-inputs')
.html(inputArray);
However, once the inputs are added, they do not receive the material design styling.
https://i.sstatic.net/Dw3ZZ.jpg
What is the best approach to add these inputs while maintaining the desired styling? Appreciate your help!