Emjay's second answer worked for me. You can additionally reduce boilerplate by tossing the upgradeAllRegistered
method into Angular's run
block:
angular.module('app', [])
.run(function ($rootScope,$timeout) {
$rootScope.$on('$viewContentLoaded', ()=> {
$timeout(() => {
componentHandler.upgradeAllRegistered();
})
})
});