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

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -