Angular ui-router clear cache(with ui-bootstrap doesn't work) -


when want clean angular template cache, have 2 ways:

1.$templatecache.removeall();

2.templateurl+ new date().gettime()

template cache normal clearance, when uses ui-bootstrap, throws error:

run ui bootstrap error

this effective way solve angular template cache, 1 problem template cache clear, ui-bootstrap not work because requires caching. how solve this, not clear cache, allows normal use of angular ui-bootstrap?


Comments

Popular posts from this blog

sql - can we replace full join with union of left and right join? why not? -

javascript - Parallax scrolling and fixed footer code causing width issues -

iOS: Performance of reloading UIImage(name:...) -