ng-nestable
ng-nestable copied to clipboard
Cannot add more item if list is not empty
I have issue when i am trying to push new item in scope.
When I try to push new item in scope, it will update the scope but UI doesn't change. so i change in directive if (model && element.is(':empty')) {..}
to if (model) {
and its working fine. so my question is that is there any problem to removing it or there is another way to do this?.