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