If you want to make inputs call a function after pressing Enter.
Looking for Angularjs material from basics! Refer to this video on Angularjs provided by Intellipaat:
then you can use the below-mentioned code:-
<form ng-submit="myFunc()" ng-controller="mycontroller">
<input type="text" ng-model="name" />
<br />
<input type="text" ng-model="email" />
</form>