title: HTML condition to trigger when an AngularJS string changes
body: <p>I've a string I want to test on a <code>ng-if</code> or <code>ng-change</code> (based on your suggestions) condition to display some code afterwards.</p>
  
  <p>I don't want to test the content of the string, I want the code block to be updated whenever the string content changes so <code>ng-if</code>doesn't seem relevant, that's why you suggested <code>ng-change</code></p>
  
  <pre><code>&lt;div&gt;
      userchoice : {{userchoice}}
  &lt;/div&gt;
  
  &lt;ods-dataset-context ng-change="userchoice" 
                       context="context1" 
                       context1-dataset={{userchoice}}&gt;
  
      &lt;ods-table ng-change="userchoice" 
                 context="context1"&gt;&lt;/ods-table&gt;
  
  &lt;/ods-dataset-context&gt;
  </code></pre>
  
  <p><code>userchoice</code> is the mentioned variable.</p>
  
  <p>Let me add that I can't write any AngularJS and can only access the HTML code (and CSS but that doesn't seem relevant here) due to the restrictions of my development environment.</p>