fix($compile): don't add merged attributes twice to $attrs
In replace directives, attribute values from the template are added twice to the replaced element when both the replaced element and the template element have the attribute. This does not affect the DOM, as it normalizes duplicate values. The values are however duplicated in the $attrs object that is available to directive link functions. Fixes #8159 Closes #14737
M
Martin Staffa committed
3ba29c464da9d73de0ea7c7716dc1ecc60bc5287
Parent: 78a23cc
Committed by Peter Bacon Darwin <pete@bacondarwin.com>
on 6/9/2016, 3:19:34 PM