Sounds like you are chasing your tail :} I don't see that the $scope 
identifies it's controller.  The fact that your example doesn't use the dot 
syntax like item.value, makes it more likely to be the immediate 
controller.  

You can access the scope 
variable: 
http://stackoverflow.com/questions/13743058/how-to-access-the-angular-scope-variable-in-browsers-console

By looking at the $scope data structure you should be able to identify 
methods on it that would belong to a specific controller versus another.

On Thursday, April 17, 2014 12:03:14 PM UTC-6, Sean Bollin wrote:
>
> I have a data binding in the view {{ value }}
>
> I want to find out what controller that $scope.value is being set in
>
> How do I do this?
>
> --
>
> I tried clicking on the element in Chrome and following up the parent 
> chain until I found the value (10 objects up) - not efficient
> Even when I get to that object, is there a controllerName property 
> somewhere?
>

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