Received some backend-rendered HTML code.
Here is the HTML code:
<form name="mk" ng-submit="submit()">
First name:<br>
<input type="text" name="firstname" value="Mickey">
<br>
Last name:<br>
<input type="text" name="lastname" value="Mouse">
<br><br>
<input type="submit" value="Submit">
</form>
Need to access and modify the firstname
and lastname
fields in the controller. Seeking a solution within AngularJS without using JavaScript or jQuery. Any suggestions?