title: Ionic and ngCordova FileOpener2 Plugin issue
body: <p>I am currently building an app with the Ionic Framework. And I need the ability to open a pdf. I am using the <code>ngCordova Plugin FileOpener2</code> for this task.</p>
  
  <p>I get no error and a success message I prompted shows.</p>
  
  <p>This is my controller :</p>
  
  <pre><code>module.controller('NewsCtrl', function ($cordovaFileOpener2) {
  
      $cordovaFileOpener2.open(
           '../img/Newsletter.pdf',
           'application/pdf'
       ).then(function() {
            console.log('Success');
       }, function(err) {
            console.log('Error' + err );
       });
  
  });
  </code></pre>
  
  <p>I currently running it in the emulator with the command ionic emulate ios --livereload --target="iPhone-4s"</p>
  
  <p>I have also tested it in an actual device with similar results.</p>
  
  <p>I did stumble upon an error when changing some of the files and the livereload server refreshing the app on the tab with the controller and got the error :</p>
  
  <blockquote>
    <p>Error: undefined is not an object (evaluating 'cordova.plugins.fileOpener2')</p>
  </blockquote>