fix(uiSref): cancel transition if preventDefault() has been called