Hi,

I have a component in which I specified the html page in templateUrl of the 
component decorator. I'm trying to add a dummy javascript function at the 
top of that html page and use it inside. It seems however as if this 
function is not taken into consideration: it's not being called, and when 
open the Developer Tools in Chrome to check the html code, I can't find it 
in there.

If I place that js function at the top page (index.html), it's called 
normally from that other html page.

Can't we use js inside html pages referenced from templateUrl?

Thanks.

-- 
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