Currently, I am utilizing the angular-media-player module from https://github.com/mrgamer/angular-media-player. Here is how my HTML code looks:
<audio media-player="audioControl" data-playlist="list" a="{{audioControl.ended}}">
I am able to access the attribute 'a' when the property audioControl.ended changes. However, when attempting to do so in my controller with:
console.log($scope.audioControl.ended);
It did not work as expected.
Interestingly, I can still utilize its methods in the controller like this:
$scope.audioControl.play();
Does anyone have an idea of what might be causing this issue?