A Typescript example of using sticky states for the angular-ui-router found in the ui-router-extras lib: https://github.com/christopherthielen/ui-router-extras
- git clone https://github.com/marcel-k/UiRouterStickyStates.git
- npm install (first install nodejs)
- bower install (first npm install bower globally)
- serve with 'gulp serve' (first npm install gulp globally)
Uses tsd to get the typescript definitions : http://definitelytyped.org/tsd/
Read this: http://blog.marcel-k.net/index.php/angular-ui-router-extras-in-typescript/