Angularjs selecting class return constructor instead of array

时间:2015-05-12 23:18:39

标签: javascript jquery angularjs

I using angularjs and i would like to do what i do in JQuery like this

additivity="false"

Ps. the elements are created by ng-repeat

When i run this using angular i receive this constructor no matter where or how i change my code

var b=$(".brands");
console.log(b);
//this normally return array of elements

I tried using angular.element i tried using it in the page it self and i tried with $scope and with out. its always the same result

0 个答案:

没有答案