Latest code is throwing error if clicked on node icon when data is loaded from service
angular.js:13550 Error: [$parse:isecdom] Referencing DOM nodes in Angular expressions is disallowed! Expression: row.branch.expanded = !row.branch.expanded
http://errors.angularjs.org/1.5.5/$parse/isecdom?p0=row.branch.expanded%20%3D%20!row.branch.expanded
at angular.js:68
at ensureSafeObject (angular.js:13643)
at fn (eval at <anonymous> (angular.js:14432), <anonymous>:4:241)
at expensiveCheckFn (angular.js:15485)
at callback (angular.js:25018)
at Scope.$eval (angular.js:17229)
at Scope.$apply (angular.js:17329)
at HTMLElement.<anonymous> (angular.js:25023)
at defaultHandlerWrapper (angular.js:3456)
at HTMLElement.eventHandler (angular.js:3444)(anonymous function) @ angular.js:13550(anonymous function) @ angular.js:10225Scope.$apply @ angular.js:17334(anonymous function) @ angular.js:25023defaultHandlerWrapper @ angular.js:3456eventHandler @ angular.js:3444
angular.js:13550 Error: [$parse:isecdom] Referencing DOM nodes in Angular expressions is disallowed! Expression: user_clicks_branch(row.branch)
http://errors.angularjs.org/1.5.5/$parse/isecdom?p0=user_clicks_branch(row.branch)
at angular.js:68
at ensureSafeObject (angular.js:13643)
at fn (eval at <anonymous> (angular.js:14432), <anonymous>:4:341)
at expensiveCheckFn (angular.js:15485)
at callback (angular.js:25018)
at Scope.$eval (angular.js:17229)
at Scope.$apply (angular.js:17329)
at HTMLAnchorElement.<anonymous> (angular.js:25023)
at defaultHandlerWrapper (angular.js:3456)
at HTMLAnchorElement.eventHandler (angular.js:3444)(anonymous function) @ angular.js:13550(anonymous function) @ angular.js:10225Scope.$apply @ angular.js:17334(anonymous function) @ angular.js:25023defaultHandlerWrapper @ angular.js:3456eventHandler @ angular.js:3444
Hi
Latest code is throwing error if clicked on node icon when data is loaded from service