Hi Anam, is this what your looking for? http://jsfiddle.net/zbQLJ/2/
Regards, Garry Taylor On Friday, 16 May 2014 11:37:01 UTC+1, Anam Ansari wrote: > > I have created Directive , on that i am using ng-class .what i want to do > is on click of button i need to chane ng-class of only directive by > matching their title(by a controller variable) . > > I want to keep buttons suppose i pass first directive title thenn only > that directive color should get change. I ried some thing in example fiddle > this is not my actual Project but trying to do something similar to That . > > http://jsfiddle.net/YQ2Tq/11/ > -- 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/d/optout.
