fix($animate): only cancel class-based animations if the follow-up class contains CSS transition/keyframe animation code

Closes #4463
Closes #3784
fix($animate): ensure animations work properly when the $rootElement is being animated

Closes #4397
Closes #4231
fix(ngView): ensure the new view element is placed after the old view element

Closes #4362
feat(docs): provide index pages for each angular module
chore(ngMocks): shorten the length of the description line to avoid jsHint errors
docs(guide/directive,guide/compiler,): drastically improve
chore(docs): fix jsHint errors with long lines
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
docs(ngController): do not attach a controller twice

A common mistake for beginners is to attach a controller in both the
$routeProvider and also in the html document using the ng-controller
directive. This change highlights this, to help prevent developers from
doing so in the future.

Closes #4409
docs(tutorial/step-07): fix typo

Closes #4410
docs(modulerr): fix typo

Closes #4418
docs($provide): Fix typo

Closes #4420
docs(ngNonBindable): fix punctuation

Closes #4424
fix($compile): instantiate controlers when re-entering compilation

When we re-enter compilation either due to async directive templates or element transclude directive
we need to keep track of controllers to instantiate during linking.

This piece of info was missing when re-entering compilation and that's what this commit fixes.

I also reordered the properties in the previousCompileContext object.

Closes #4434
Closes #4616
docs(ngBindHtml): add example

Closes #4427
docs(tutorial/step_00): reword sentence to make sense

Closes #4429
docs(select): fix typo

Closes #4433
docs($routeProvider): document route.resolve rejection

Add documentation that the $routeChangeError event is fired when a
route resolve promise is rejected

Closes #4447
docs(error/multidir): improve the sentence fluency

Closes #4449