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:
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
Post a Comment