Closed thaiat closed 9 years ago
As per angular documentation, the usage of the transclude function from compile has been deprecated in angular 1.3 (started 1.2 I believe).
One should only use transclude provided as the 5th argument of pre or post function to make sure the scope is correct.
transclude
pre
post
For more info : https://github.com/angular/angular.js/issues/9413
As surface is a leaf node, this change should not have any side effect.
I'm not sure if same fix should be done across all directives...
Let me know what you think
As per angular documentation, the usage of the transclude function from compile has been deprecated in angular 1.3 (started 1.2 I believe).
One should only use
transclude
provided as the 5th argument ofpre
orpost
function to make sure the scope is correct.For more info : https://github.com/angular/angular.js/issues/9413