angularjs - Render directive after javascript-adding on page -
i have web-page angular application, angular-directive, controller, , other javascript-functions. 1 functions adding html-code on page. html contains 1 angular directives. angular doesn't render directive's template if added dynamically. how render derictive in case?
here nice example of dynamically adding html code included directive (alert).
the general idea $compile
html code. check in example.
Comments
Post a Comment