title: Dynamic property inside ng-if statement
body: <p><div class="snippet" data-lang="js" data-hide="false" data-console="false" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;ul&gt;
  &lt;li 
  ng-repeat="category in categoryList"&gt;
  {{category.Name}} &lt;br&gt;
  &lt;ul&gt;
  &lt;li 
  ng-repeat="game in gameList" ng-if="game.{{category.Name}}"&gt;
  {{game.Name}}
  &lt;/li&gt;
  &lt;/ul&gt;
  &lt;/li&gt;
  &lt;/ul&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I want to check if a certain game has a child with a name of the category, with the brackets it would just look up a specific child called category which doesn't exist.</p>