Fix for member and submember linking on api.dartlang.org (with "useHistory"
case.)

BUG=
R=alanknight@google.com

Review URL: https://codereview.chromium.org//316993002