Skip to content

A clone (but written in js) of Chris Thielen's sticky states that works with ui-router 1.0.0-beta.3

Notifications You must be signed in to change notification settings

dsills22/sticky-states-ui-router-1-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

sticky-states-ui-router-1-js

A clone (but written in js) of Chris Thielen's sticky states that works with ui-router 1.0.0-beta.3

Demo: http://plnkr.co/edit/JD9fEVnjvFMJmnmRIM2v?p=preview

This repository is meant to help others with this issue: ui-router/sticky-states#4

Chris Thielen of course gets all credit for the ingenuity of his ui.router plugin. Reading his typescript code and implementing it in a js angular provider was quite fun and I learned a lot from following his coding practices. Any mistakes made are mine, any successes are his.

The typescript source I referenced is here: https://github.com/ui-router/sticky-states/blob/master/src/stickyStates.ts and the ui-router version for which this all works for me is 1.0.0-beta.3, available here:

https://unpkg.com/[email protected]/release/angular-ui-router.js

At the time of this writing, this is the version used in the ui-router demos.

About

A clone (but written in js) of Chris Thielen's sticky states that works with ui-router 1.0.0-beta.3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published