You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
.directive('foo',function(){return{restrict:'A',compile: function(tElement,tAttr){tAttr.$set('foo',null);// same result with undefined}}})
<h1foo="{{ bar }}">Hello World</h1>
TypeError: Cannotreadproperty'length'ofnullat$interpolate(https://code.angularjs.org/snapshot/angular.js:9330:28)atattrInterpolatePreLinkFn(https://code.angularjs.org/snapshot/angular.js:7424:33)atinvokeLinkFn(https://code.angularjs.org/snapshot/angular.js:7549:9)atnodeLinkFn(https://code.angularjs.org/snapshot/angular.js:7048:11)atcompositeLinkFn(https://code.angularjs.org/snapshot/angular.js:6441:13)atcompositeLinkFn(https://code.angularjs.org/snapshot/angular.js:6444:13)atpublicLinkFn(https://code.angularjs.org/snapshot/angular.js:6320:30)
at https://code.angularjs.org/snapshot/angular.js:1485:27atScope.$get.Scope.$eval(https://code.angularjs.org/snapshot/angular.js:13436:28)atScope.$get.Scope.$apply(https://code.angularjs.org/snapshot/angular.js:13534:23) <h1>
currently quick fix for apps (imho similar fix can be applied to angular Attributes + check if they contain interpolated expression):