Hi,

I have a page that have a couple of angular components on it. If one should 
navigate from the page (not client side routing) before the components have 
been completely loaded, the current page throws an Error: [$compile:tpload] 
Failed to load template: /Route/To/My/Template.html (HTTP status: -1 ) 
before loading the new page. 

Is there a way to cancel the template loading when a navigation have been 
initiated?
Are there any best practices on what to do before leaving a page with 
"unfinished" angular components on it, (I have canceled all my timeouts and 
intervals onDestroy)?


Thank you
/Hampus



-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to