Hi,

I'm afraid it's not as simple as that. However, you can examine the 
attributes from the element to see if there is an ng-controller, and parse 
the name out of that.
However, ngController isn't the only source for new scopes, so this might 
be a bit more involved then that. You might even want to walk up the tree 
to find the creating directive! 
In most cases, the scope is indeed on the same element as the creating 
directive, so you might use that to your advantage.

Regards
Sander

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