Adds min/max validations.

Adds min/max validations just like the ones exposed by angularjs' input[number]