问题
I am migrating from directive to component but error is getting while using $compile As :
$compile(ReturnDomElement)(scope);
What should be used instead Of $scope As I dont injected $scope in my component.
来源:https://stackoverflow.com/questions/39776460/how-to-use-compile-in-angular-component-angular-1-5-and-above