Hi Cimballi,

When debugInfoEnabled is set to true, some things are a bit 
relaxed/different. You found one!
Angular.element expects a string or a dom element, not a jQuery wrapped one.
So you need to unwrap your element, or just use pure DOM functions to get 
one like this:

`angular.element(document.getElementById('id')).scope()`

Get used to doing the last one. Angular 2.0 will drop the jQuery dependency 
entirely.

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