title: How to use ">" comparator in AngularJS ng-if statement
body: <p>Is it possible to use the 'greater than' comparator in an ng-if in HTML?
  The problem is that the ">" symbol prematurely closes the HTML tag.</p>
  
  <p>ex.
  this: <code>&lt;div ng-if="foo&gt;0" class="bar"&gt; (HTML STUFF) &lt;/div&gt;</code></p>
  
  <p>is read as: <code>&lt;div ng-if="foo"&gt; (0 class="bar"&gt; HTML STUFF) &lt;/div&gt;</code></p>
  
  <p>I ended up getting around this by using ng-if="foo!=0" but I could probably use the less than comparator instead but I was just curious in case I absolutely HAD to use the greater than symbol for some reason. Or would I perhaps have to move this logic somewhere else like in my controller instead of in my view?</p>
  
  <p><strong>EDIT 1</strong>
  So it definitely seems like the comparator itself isn't the problem and something else is going on in my code. Oddly, when I have spaces before and after the comparator it works but without spaces it doesn't. I'm also using angular 1.3.15 if that means anything.</p>
  
  <p><code>&lt;div class="paginate" ng-if="list.total &gt; 0"&gt;</code> works</p>
  
  <p><code>&lt;div class="paginate" ng-if="list.total&gt;0"&gt;</code> does not work</p>