I've tried to insert the treeview in a partial which I include using ng-include. When a node gets selected
$scope.$watch('tree.currentNode', function() { //...}); does not fire. Neither does
$scope.$parent.$watch('tree.currentNode', function() { //...}); work.
I'd suggest to send an event for this.
I've tried to insert the treeview in a partial which I include using ng-include. When a node gets selected $scope.$watch('tree.currentNode', function() { //...}); does not fire. Neither does $scope.$parent.$watch('tree.currentNode', function() { //...}); work. I'd suggest to send an event for this.