fix(ngTransclude): only compile fallback content if necessary
If the instance of the directive does provide transcluded content, then the fallback content should not be compiled and linked as it will never be used. If the instance of the directive does not provide transcluded content, then the transcluded scope that was created for this non-existent content is never used, so it should be destroy in order to clean up unwanted memory use and digests. Fixes #14768 Fixes #14765 Closes #14775
D
Daniel Herman committed
159a68ec7ba77e9128b0d0516b813ed3d223b6e3
Parent: b9a56d5
Committed by Peter Bacon Darwin <pete@bacondarwin.com>
on 6/17/2016, 9:52:57 AM