fix($compile): disallow linking the same element more then once
Previously the following would invoke the element link function multiple
times, causing unknown and potentially buggy results:
var link = $compile(html);
link(scope);
link(scope);
This was always unsupported. Now this throws a multilink error.
PR (#13422) J
Jason Bedard committed
1e1fbc75f5e20e8541f517a5cf6f30f8f2eed53f
Parent: 53a3bf6
Committed by Martin Staffa <mjstaffa@googlemail.com>
on 8/30/2016, 8:45:32 PM