Dynamically set text on input submit button with Angular

angularjs

Solution

http://plnkr.co/edit/DZWzN4D9QzzBCpetSYtF?p=preview

<input type="submit" value="{{model}}" />

In your controller:

$scope.model = "Create new order";

Problem

``` <input type="submit" value="Create new order" /> ``` How do I set the 'value' attribute based on a $scope variable?

Original source