Closed edmondchui closed 7 years ago
In both the on() and onChange() APIs, the resize listener is cleaned up in scope.$destroy() event. However, the resize listener inside when() API is not cleaned up. Please add the appropriate code or I can submit a PR.
on()
onChange()
scope.$destroy()
when()
In both the
on()
andonChange()
APIs, the resize listener is cleaned up inscope.$destroy()
event. However, the resize listener insidewhen()
API is not cleaned up. Please add the appropriate code or I can submit a PR.