title: Passing HTML to a custom directive
body: <p>I'm new at angular and I'm trying to do something at work to easily create tables with functionality such as CRUD functions.</p>
  <p>For example:</p>
  <p>I have the following declaration:</p>
  <pre><code>&lt;custom-table datasource=&quot;persons&quot; headers=&quot;headers&quot;&gt;
          &lt;custom-column header=&quot;header&quot; display-member=&quot;&quot;/&gt;
          &lt;custom-column header=&quot;header&quot; display-member=&quot;&quot;/&gt;
  &lt;/custom-table&gt;
  </code></pre>
  <p>Which my custom-table is a directive which returns an table element. The problem is, I have to read ALL columns in order to build the header and body of a table, but I can't figure out how I can read the columns that I passed as content of directive... (I'm trying to use less jQuery as possible)</p>
  <p>The only thing that I could achieve it was read each column separated, but doing this, I will not be able to build the table correctly. The scenario that I'm imagined is, read all column declaration, build the table header, and put an ng-repeat for body.</p>