angular.js - Angular template reuse
The function I want to implement is as shown in the picture above, with the list on the left and the properties panel in the upper right corner. There may be the same list items in the list. If they are the same list items, then their property panels are also the same. I'm using ng-include to load the templates for these property panels. Question: For example, the first three items are the same list items and correspond to the same template, which means they correspond to a controller. In this case, their data is shared, how to achieve separation? View shared, model separated
黄舟2758 days ago493