title: Angular ng-class and Fontawesome 4 to 5
body: <p>I just upgraded my app from Fontawesome version 4 to 5 following the documentation <a href="https://fontawesome.com/how-to-use/upgrading-from-4" rel="nofollow noreferrer">HERE</a>.</p>
  
  <p>All is looking nice and it seems to work fine except for dynamic icons...</p>
  
  <p>My App use Angular and quite often the icon to show is dynamic:</p>
  
  <pre><code>ul.to-do-bullets.list-inline(ng-if="isMobile &amp;&amp; todos.length &gt; 1")
    li(ng-repeat="todo in todos", ng-click="showTodo($index)")
      i.fa(ng-class="{'fa-circle-o': activeTodo !== $index, 'fa-circle': activeTodo === $index}")
  </code></pre>
  
  <p>Here the fonts are loaded fine but when the <code>to-do</code> change it doesn't update the <code>active</code> icon anymore...</p>
  
  <p>Looking at their documentation I can not find the answer... How can I let it work as it was before? Thanks</p>