SIGN IN SIGN UP
angular / angular.js UNCLAIMED

AngularJS - HTML enhanced for web apps!

0 0 51 JavaScript

fix(ngMessagesInclude): do not compile template if scope is destroyed

Messages imported with `ngMessagesInclude` are loaded asynchronously and
they can arrive after the ngMessages element has already been removed from DOM.

Previously we tried to compile these messages and that caused a `$compile:ctreq`
error. Now they are silently ignored if `ngMessagesInclude`'s scope has already
been destroyed.

Closes #12695
Closes #14640
J
Jukka committed
69d9072d5b5aba988ac8a9717c92ce1fac465cbe
Parent: 9b5de0a
Committed by Peter Bacon Darwin <pete@bacondarwin.com> on 5/23/2016, 12:00:56 PM