title: Audio player for Ionic
body: <p>I am learning Ionic and want to embed an audio player. I have found this Plnkr example of <a href="http://plnkr.co/edit/C9vWoszT3FmfcATmZZ81?p=preview" rel="nofollow noreferrer">Video Player</a>: </p>
  
  <pre><code>    angular.module('app',[])
  
  .directive('youtubeIframe', ['$timeout', function ($timeout, $sce ) {
      return {
          restrict: 'A',
          link: function (scope, element, attrs) {
              $timeout( function () {
                  var temp1 = '&lt;iframe width="400px" height="200px" src="http://www.youtube.com/embed/';
                  var temp2 = '?&amp;autoplay=0&amp;autohide=1&amp;fs=1&amp;cc_load_policy=1&amp;loop=0&amp;rel=0&amp;modestbranding=1&amp;&amp;hd=1&amp;playsinline=0&amp;showinfo=0&amp;theme=light" frameborder="1" allowfullscreen&gt;&lt;/iframe&gt;';
                  var finalvar = temp1 + attrs.youtubeIframe + temp2 ;
                  console.log('Finalvar is: ' + finalvar); //just to check if url is ok
                  element.prepend( finalvar );
              }, 150);
              // The timeout is to give enough time for the Dom to be built and checked for its structure, so that we can manipulate it.
          }
      };
  }])
  
  
  
  .controller('VideoCtrl', function($scope) {
  
      $scope.angularvideos = [
        { 
          name: 'Angular on the go: Using Angular to power Mobile Apps', 
          youtubeId: 'xOAG7Ab_Oz0',
          publishdate: 'Dec 2013'
        },
        { 
          name: 'Crafting the Perfect AngularJS Model and Making it Real Time', 
          youtubeId: 'lHbWRFpbma4',
          publishdate: 'April 2014'
        },
        { 
          name: 'AngularJS &amp; D3: Directives for Visualizations', 
          youtubeId: 'aqHBLS_6gF8',
          publishdate: 'Jan 2014'
        },
        { 
          name: 'The Thick Front End', 
          youtubeId: 'hv2NEW0uC1o',
          publishdate: 'Nov 2013'
        }
      ];
  })
  </code></pre>
  
  <p>Is there a similar example for an audio player within iframe for a mobile App (Android for the time being, but later on iOS as well)?</p>