I usually have jQuery so do $($0).scope(), but $scope would be ideal since I 
always get hung up on the syntax of the parenthesis.

Any tips on key angular concepts if I were to go about writing a safari 
extension for this? I've never written an extension before so would be starting 
from scratch...

Patrick Stinson
Owner, Vedanā Media
T: 907-350-2370
vedanamedia.com

> On Jan 24, 2014, at 12:32 AM, Domenico Matteo <[email protected]> wrote:
> 
> Or you can pick an element in the HTML panel of the developer tools  (it 
> exists in Safari too, If I'm not wrong)
> 
> and then type angular.element($0).scope() 
> 
> 
> 
> 
> 
>> On Friday, 24 January 2014 05:26:51 UTC+1, Sander Elias wrote:
>> Hi Patrick,
>> 
>> I don’t think there is a batarang for Safari.
>> But you can get the scope easily using angular.element.
>> 
>> assuming you have an reference in elm you can do this: 
>> angular.element(elm).scope() and there you have it.
>> 
>> Regards
>> Sander
>> 
> 
> -- 
> You received this message because you are subscribed to a topic in the Google 
> Groups "AngularJS" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/angular/GKVDUUW0zp8/unsubscribe.
> To unsubscribe from this group and all its topics, 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/groups/opt_out.

-- 
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/groups/opt_out.

Reply via email to