4 ms·
Thanks for the feedback! * yes, figured I didn't need "var app" for the demo... * those are two helper directives needed by the main one * I'm familiar with
by mb2100 13y ago
Thanks for the feedback!
* yes, figured I didn't need "var app" for the demo...
* those are two helper directives needed by the main one
* I'm familiar with [4] and [5], but I don't quite see how they would apply to this situation since all I'm doing is "showing and interacting with stuff", there is no calculation, parsing etc - the data is already JSON. I can see however, that the directive is quite long, which has mostly to do with the fact that it's calling itself recursively and all cases are packed into it.
* I used multiSortable to get the array elements to be drag-and-droppable, that's where the AngularUI dependency is coming from.