Hi Sander
Thanks for the reaction.
im new to angular but not websites.
i have a angular page running here, and the you will see my problem.
http://www.bwired.nl:8089/ang

you see 3 pages, if you click on smartmeter and wait a few seconds you see 
this page updating realtime.
if you go to other pages nothing happens, but then go to the console in 
your browser and you will see the data coming in.
so the data is coming in for the smartmeter page, it comes in always, even 
if you are not on the page.
because i have massive data i dont want this construction.
I know this is happening now because i load the javscript file on main 
level (index.html).

so what i want is to load that piece of javascript only when i click on the 
smartmeter.html page.
seems i cannot do this with current construction because the javascript can 
not be injected.
is there a other way to solve this?
thanks very Pieter

-- 
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 http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to