chore(ngdoc): add dynamic anchors to anchor list

Fixes some warnings during docs generation.

Closes #4673
docs(guide/directive): link to directives API from the top of the page
Merge branch 'master' of https://github.com/angular/angular.js
componentizd!