I want users to be able to add elements such as user inputs with ionic 2/angular. For example with normal JS I would use this code:
function addDestination(){
var destDiv = document.getElementById('destPlaceholder');
destDiv.innerHTML += '<ul class="rounded"><li><input type="text" class="node" placeholder="text" id="d" /></li></ul>';
}
how would I go about doing this with ionic2/angularJS?
ng-repeat. When the user indicates they want another, add an item to the array.