I am new to angular Js How can I loop same ng-model?
I get that example on w3schools
<!DOCTYPE html>
<html>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular.min.js"></script>
<body>
<div data-ng-app="" data-ng-init="price=5">
<h2>Cost Calculator</h2>
Price: <input type="number" ng-model="price">
<input type="number" ng-model="price">
<p><b>Total in dollar:</b> {{price+price}}</p>
</div>
</body>
</html>