Our Scope implementation is becoming something that resembles the one in Angular. It is, however, quite brittle. That’s mainly because we haven’t put much thought into exception handling.If an exception occurs in a watch function, an $evalAsync or $applyAsync function, or a $$postDigest function, our current implementation will just give up and stop whatever it’s doing. Angular’s implementation, however, is actually much more robust than that.Exceptions thrown before, during, or after a digest are caught and logged, and the operation then resumed where it left off.
đang được dịch, vui lòng đợi..
