scope of event arguments in angular directive
问题 I have the following angular app to create a menu of sections/products. at present when rendered and hitting the 'add' button that is rendered within each li I want to add a section/product as a sub of that section however multiple new children are created. ultimately I wish to display a form which when submitted will create the child but that is the next step. Right now I need to limit the scope to the current section and not have multiple bound clicks. If you need more information please