'Ionic V1 / AngularJs - $IonicPopup sometimes display template without interpolating

I've an issue and can't figure out how it can happen :

Sometimes on real devices, popups aren't interpolating html as in picture : enter image description here

Its happening more often when debugging in chrome. But I don't know why it's happening.

$ionicPopup.show({
    'cssClass': 'edit-popup',
    'title': `${$translate.instant('addTime')} ${taskLabel ? `<br/><br/>${taskLabel}` : ''}`,
    'templateUrl': 'directives/maintenance-time-popup/maintenanceTimePopup.html',
    'scope': $scope,
    'backdropClickToClose': false,
    'buttons': []
})


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source