AngularJS : How to get the uncompiled transclude content of a directive -
I am trying to use
As I, transclude content of a directive (directive, not the original content of the template) A line HTML template in the grid.
& lt; Grid etters = "..." & gt; & Lt; Action-column-templates & gt; ... (html I want) ... & lt; / Action-column-template & gt; & Lt; / Grid & gt;
This is the idea that I needed raw HTML action column template (uncompiled, unbinded any scope).
I do not control the generation of each line, so I can not bind using Tronskaicc (Line Scope) within each line manually the action template. I just need it as plain HTML (i.e. with "{{}}" and inside directions are insulated).
Transclude () is running fn from the link function, gives me transcluded content, but expanded with a bound scope and internal instructions. And the compilation function of Telem template instructions HTML param () returns HTML, not content transcluded for
So the question is :. Can I get content to believe that the uncompiled HTML is transcluded as an instruction in your compilation, controller, preLink or postLink functions?
Thank you.
set terminal: true
, and manually compile the direct.
Comments
Post a Comment