fix(ngInclude): only run anchorScroll after animation is done

We need to wait until animations have added the content to the document before
trying to `autoscroll` to anchors that may have been inserted.

I am a little unsure about how I refactored the tests to check for this issue.

Also, could someone check whether other things should be moved into the `afterAnimation`
handler, such as the `$compile`, the `$emit` or the `$eval`?