angular-json-tree icon indicating copy to clipboard operation
angular-json-tree copied to clipboard

Working With ControllerAs Syntax

Open timbrown81 opened this issue 9 years ago • 1 comments

It appears that this module does not work within a controller using the ControllerAs syntax correct? The directive simply does not seem to bind to an object with the vm.

Example: http://codepen.io/timbrown81/pen/QEyZrL

timbrown81 avatar Jun 10 '16 21:06 timbrown81

@timbrown81 Unfortunately, I haven't touched AngularJS code, outside of minor updates to this repo, in roughly 2 years, so I'm a bit out of practice when it comes to this issue. Would you be able to submit a PR to fix this?

awendland avatar Jun 10 '16 23:06 awendland