So I have created a simple tab system using ng-repeat the only problem is I 
can't access the dom element within the ng-repeat

I have tried doing this:

var myEl = angular.element( document.querySelector('editor_'+UniqueId)).scope();

console.log(myEl);

but that returns undefined in the console window.

my code is pretty simple, i have got a watch function inside my main 
controller that checks for changes from my service, when a change occurs, 
it gets the data and generates a unique id and pushes the data to my main 
object which then create my tabs.

When the tab is created I wanna initialize a plugin on the div inside the 
tab container, but I can't access it don't know what am doing wrong.

snippet of my code: http://jsfiddle.net/brw7m8q5/4/

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