```
$('> img[src="folderopen.gif"]',$scope)

```

The above will fail,seems a bug of jQuery,is there a work around?

This issue is found here:

[How to judge whether there is a specific child(.haschild('#test[att="test"]')) with jQuery?](https://stackoverflow.com/questions/2062381/how-to-judge-whether-there-is-a-specific-child-haschildtestatttest-wi/2062390#2062390)

**EDiT**

I've just verified this will also fail:

```
$scope.children( 'img[src="folderopen.gif"]');

```