arvindr21 / jsTree-directive

An Angular Directive for jsTree. Docs :
http://jstree-directive.herokuapp.com/
51 stars 33 forks source link

reverse the order of parameters in the $watch's callback function #14

Closed mikemsq closed 9 years ago

mikemsq commented 9 years ago

The callback function parameters should be "newVal", oldVal". https://docs.angularjs.org/api/ng/type/$rootScope.Scope#$watch

arvindr21 commented 9 years ago

Thanks @mikemsq