Test

by Divya Manu

HTML

<div ng-controller="MyCont" ng-app>
    <form>
        <input type="number" min="0" max="50"/>{{value}}
        <br />
        <br />
        <input type="submit" value="bind the data" />
        <input type="reset" value="reset back to 15" />
    </form>
</div>

JavaScript

function MyCont($scope) {
    $scope.value = 15;
};