Bad:
<a href="#">Hahaha let's clear the hash fragment that'll be fun!</a>
Good:
<a href="javascript:void(0);">Nobody will get hurt this way.</a>
// dummy navigate, clear the hash
router.navigate('', {trigger: false, replace: true});
// the real navigation
router.navigate('/real/route', {trigger: true});