Hiya,

I must be missing something but there doesn't appear to be a way to get 
javascript to work with a view. e.g. a view contains elements that are 
changed by another javascript framework (photoswipe) but when the 
javascript runs in index.html the view doesn't exist so it fails. If I add 
onload to ng-view to get the controller to run the photoswipe init function 
it causes rootScope:infdig. document onready runs before the document is 
'ready' i.e. before the template has loaded. Is there a best practice for 
using other frameworks with angular that require javascript to be run after 
the template is loaded?

thanks,

Alistair

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