title: Angular-ui-router typescript definitions
body: <p>When we updated our app to use angular-ui-router v1.0.3 we got some problems with the typescript definitions.
  Since we were using the $stateChangeSuccess event the migration guide told us that we now should use the TransitionService.onSuccess</p>
  
  <p>When everything is compiled to js it works fine, but the problem is that TransitionService do not exist in the Typescript definition file (downloaded using npm/@types) giving us trouble when building.</p>
  
  <p><a href="https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/angular-ui-router" rel="noreferrer">https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/angular-ui-router</a></p>
  
  <p>By looking in the ui-router source folder within the node_modules folder I can see that there already exist typescript definition files for the source.</p>
  
  <ol>
  <li>So are the typescript definitions for @types/angular-ui-router missing the TransitionService?</li>
  <li>Or should I use the definition files provided with the source? (If so, how?) </li>
  <li>Some other way?</li>
  </ol>
  
  <p>angular-ui-router api TransitionService: <a href="https://ui-router.github.io/ng1/docs/latest/classes/transition.transitionservice.html" rel="noreferrer">https://ui-router.github.io/ng1/docs/latest/classes/transition.transitionservice.html</a>.</p>