title: ngIf inside ngRepeat not working inside <table> when controller defined with string
body: <p>I have an ng-if inside an ng-repeat in a template, and the ng-if is not working, even if I change it to just </p>
  
  <pre><code>ng-if="false"
  </code></pre>
  
  <p>I can make it work by adding </p>
  
  <pre><code>ng-controller="TemplateController"
  </code></pre>
  
  <p>to a parent div, however when I do this, my controller cannot receive resolved arguments:</p>
  
  <pre><code>resolve: {
      myVar: function() {
          return "hello world";
      }
  }
  
  Unknown provider: myVarProvider &lt;- myVar
  </code></pre>
  
  <p>if I remove the ng-controller, and add </p>
  
  <pre><code>controller: "TemplateController"
  </code></pre>
  
  <p>after my resolve:, then myVar is passed successfully, however ng-if no longer works</p>
  
  <p>my HTML: </p>
  
  <pre><code>&lt;table&gt;
      &lt;div ng-repeat=“row in rows"&gt;&lt;tr&gt;
          &lt;span ng-if=“row.active==1"&gt;
              &lt;td&gt;{{row.data}}&lt;/td&gt;
              &lt;td&gt;&lt;/td&gt;
              &lt;td&gt;{{ row.date | date:"MM/dd/yyyy"}}&lt;/td&gt;
              &lt;td&gt;
                  &lt;a href=“stuff”&gt;click me&lt;/a&gt;
              &lt;/td&gt;
          &lt;/span&gt;
          &lt;span ng-if=“row.active &gt; 1"&gt;
              &lt;td&gt;{{row.otherData}}&lt;/td&gt;
              &lt;td&gt;{{row.str}}&lt;/td&gt;
              &lt;td&gt;{{ row.date | date:"MM/dd/yyyy"}}&lt;/td&gt;
              &lt;td&gt;
                  &lt;a href=“stuff”&gt;click me instead&lt;/a&gt;
              &lt;/td&gt;
          &lt;/span&gt;&lt;/tr&gt;
      &lt;/div&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>right now, I get a whole bunch of blank cells, and <em>both</em> 'click me' links.</p>
  
  <p>if I remove the  tags, it works, but it's not in a table</p>
  
  <p>moreover, not only is the ng-if not working, but any variables I reference inside {{}} are being replaced with blanks (but they also work if  is removed)</p>
  
  <p>jsFiddle: <a href="http://jsfiddle.net/Mh2UH/1/" rel="nofollow">http://jsfiddle.net/Mh2UH/1/</a></p>