One of the great things about unit testing is that when you encounter 
friction it really is trying to tell you are likely doing something you 
shouldn't. You should consider encapsulating whatever action you are doing 
on the dom inside of a directive. For example you can have a directive that 
writes out whatever property you are testing for into the scope This is not 
difficult, and will make things much easier to test. 

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