If I add angular material directive md-button like this :
angular.element( document.body ).append( '<md-button> Material' )
It will not recognize that it's angular directive. The question is - how to recompile scope/element
If I add angular material directive md-button like this :
angular.element( document.body ).append( '<md-button> Material' )
It will not recognize that it's angular directive. The question is - how to recompile scope/element
Copyright © 2021 Jogjafile Inc.
Not sure if you should be doing this, but the right way is to use the
$compilefunction:Working plunker.