$state.href() returns null instead of throwing.