Workaround for Angular.js routing issue.