Answer the question
In order to leave comments, you need to log in
How to stop bulk fill on click popover in Angular?
Faced with this problem demo.nsemenov.com
on click, you need to display the form in each cell, but in order, depending on which cell you clicked ... and it displays everything at once ... moreover, if I try to enter something into the form, it disappears .
Guys help me... I'm just learning Angular.
Answer the question
In order to leave comments, you need to log in
As I wrote earlier, you misunderstand directives. Why do you have so many windows? because all your clicks are bound to the rootScope and one click triggers the same number of click functions. You need to isolate each cell by creating a directive on that cell...think of a cell as one single function. and so the directive also is this function which knows that does cells in different circumstances. and then you don't have to fence so much DOM with ng-click
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question