Fix #38 - take into account any filters on an ng-repeat that exists,

also, wrap in a function for those of us that don't let jQuery by '$'