Added stateChangeStart listener for UI Router rupport.
Merge pull request #6 from chrizzzzz/auto-close-fix

Added stateChangeStart listener for UI Router support on auto close.