Angular directives

29 views
Skip to first unread message

Pankaj Patil

unread,
Jan 5, 2016, 5:52:08 AM1/5/16
to AngularJS
I have created custom directive to manipulate dom. Its of attribute type, As i am using ng-repeat to repeat my 100 records and my custom directive present in those recorrds. so whenever i am adding my condition in directive, it manipulates only last record of ng-repeat. Ho can i make it work for individually like we use $(this) in javascript.

Günter Zöchbauer

unread,
Jan 5, 2016, 6:18:38 AM1/5/16
to AngularJS
Please show some actual code. How does your directive look like? How are you using it?

Ankush Joshi

unread,
Jan 7, 2016, 1:03:08 AM1/7/16
to AngularJS
hi, 

Pankaj, can you pls show code snippet for directive and html ? 
Reply all
Reply to author
Forward
0 new messages