angularjs - Call an Angular route with out using $location -


i have module can run in 2 modes. 1 standard can browse routes normal, second self contained version lives in sidebar of page. self contained version should behave same not affect url bar.

can bring route ngview element without changing url

or

manually fetch template ngview element , instantiate it's associated controller?

i have used ui-router success.

$state.go('state-name' ,queryparams,false); 

the final false here tells ui-router not change location. i'm liking ui-router lot!


Comments

Popular posts from this blog

python - TypeError: start must be a integer -

html - How can i make an element from a bottom stacking context stays in front of another higher stacking context? -

html - href attribute breaking an element -