Implementing 'lossy' option in $state.href().