docs(guide/forms): code style changes for an example

Closes #5499
docs(guide/forms): update example

Right now, non-integers such as 'aawefwae' are valid.
This ensures that only integers are valid. Hopefully that makes the example more powerful.

Closes #5501
Merge branch 'master' of https://github.com/angular/angular.js