One of the features I have is a Service that can be added by a user, either one or multiple services.
There is a button available for users to add a new Service:
<button type="button" class="btn btn-success" ng-click="addService()">
<span class=" glyphicon glyphicon-plus">
</span>Add Service
</button>
Upon clicking the Add Service button, Angular will create a new Service in a list of services.
Additionally, there are two text areas where users can input information about the Service:
<label for="usr">Name:</label>
<input type="text" class="form-control" id="name"></br>
<label for="usr">Service:</label>
<input type="text" class="form-control" id="service"></br>
When the Add Service Button is clicked, a new Service Button should be generated with these text areas.
Is there a way to generate this and add the new Service to the list of services?