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 -

Laravel mail error `Swift_TransportException in StreamBuffer.php line 269: Connection could not be established with host smtp.gmail.com [ #0]` -

c# SetCompatibleTextRenderingDefault must be called before the first -