chore(ngdoc): add dynamic anchors to anchor list

Fixes some warnings during docs generation.

Closes #4673