chore(ngdocs): ensure the docs menu changes when browsing a different section

Closes #4619