title: How to style angular ng-template selector
body: <p>I am struggling with styling <code>ng-template</code> tag.<br/>
  what i have tried in my .css file until now:<br>  </p>
  
  <ul>
  <li>using #other_content as ID in my .css file</li>
  <li>adding a class to <code>&lt;ng-template&gt;</code></li>
  <li>styling all <code>&lt;td&gt;</code> tags</li>
  </ul>
  
  <p>It's not working and after searching i have not found any solution. </p>
  
  <p>HTML:</p>
  
  <pre><code>&lt;div class="cont"&gt;
      &lt;div class="scolldiv"&gt;
          &lt;table border="1"&gt;
              &lt;thead&gt;
                  &lt;tr&gt;
                      &lt;th&gt;Char&lt;/th&gt;
                      &lt;th&gt;Break After&lt;/th&gt;
                      &lt;th&gt;Remove&lt;/th&gt;
                  &lt;/tr&gt;
              &lt;/thead&gt;
              &lt;tbody&gt;
                  &lt;tr *ngFor="let charobj of Chars;let i = index" [attr.data-index]="i"&gt;
                      &lt;td&gt;{{charobj.char}}&lt;/td&gt;
                      &lt;td class="tdcell" *ngIf= "charobj.after; else other_content"&gt;YES&lt;/td&gt;
                      &lt;ng-template  #other_content&gt;NO&lt;/ng-template&gt;
                      &lt;td&gt;
                          &lt;MyBtn
                              [ID]="'btnaddchars_' + i"
                              [BackColor]= "globals.sysButtonBackColor"
                              [Color]= "globals.sysButtonForeColor"
                              [HoverBackColor] = "globals.sysHoverButtonBackColor"
                              [HoverColor] = "globals.sysHoverButtonForeColor"
                              [Text] ="'Delete'"
                              [SecondText]="'Close'"
                              [Width] ="'70px'"
                              [Height]="'17px'"
                              (buttonWasClicked) ="onSymbolsFormButtonClick($event)"
                              &gt;
                          &lt;/MyBtn&gt;
                      &lt;/td&gt;
                  &lt;/tr&gt;
  
              &lt;/tbody&gt;
          &lt;/table&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Image:</p>
  
  <p><a href="https://i.stack.imgur.com/myuc3.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/myuc3.jpg" alt="enter image description here"></a></p>