<input type="submit" value="Create new order" />
How do I set the 'value' attribute based on a $scope variable?
http://plnkr.co/edit/DZWzN4D9QzzBCpetSYtF?p=preview
<input type="submit" value="{{model}}" />
In your controller:
$scope.model = "Create new order";
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With