title: Angular - Dynamic Directive Call (Class)
body: <p>I have a directive that I can successfuly call as</p>
  
  <pre><code>&lt;div class="testDirective"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>but I doesn't work when </p>
  
  <pre><code>$scope.variable = 'testDirective'
  </code></pre>
  
  <p>I try all these examples</p>
  
  <pre><code>&lt;div ng-class="variable"&gt;&lt;/div&gt;
  &lt;div ng-class="{{variable}}"&gt;&lt;/div&gt;
  &lt;div class="variable"&gt;&lt;/div&gt;
  &lt;div class="{{variable}}"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>Nothing works...</p>
  
  <p>Thanks</p>