fix(input): keep track of min/max attars on-the-fly

Now input[type=button] keeps track of both min and max attrs even if they change over time.
chore(ngdocs): ensure the docs menu changes when browsing a different section

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