My app is working fine in browser and iOS simulator. But it freeze when running through Ionic View. It starts to breeze when I add html5 audio. Does anyone know what could cause this? Or just simply can't html5 audio be used in Ionic View?
Here is the part where it breaks.
$scope.media = new Audio();
$scope.media.src = src;
$scope.media.load();
$scope.media.play();