title: Social Sharing not working in Ionic.Always leading to error function
body: <p>Using Social Sharing plugin of ngCordova.
  Installed it manually using config.xml following : <a href="https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin/blob/master/README.md" rel="nofollow noreferrer">https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin/blob/master/README.md</a>
  Whenever I try to use the following function,it is always entering into function(err) </p>
  
  <p>View code :</p>
  
  <p></p>
  
  <pre><code>&lt;ion-pane&gt;
    &lt;ion-header-bar class="bar-calm"&gt;
      &lt;h1 class="title"&gt;SMS&lt;/h1&gt;
    &lt;/ion-header-bar&gt;
    &lt;ion-content class="has-header"&gt;
  
    &lt;ion-list&gt;
       &lt;label class="item item-input item-input-stacked item-stable"&gt;
        &lt;span class="input-label"&gt;&lt;/span&gt;
        &lt;input type="number" placeholder="Your number" ng-model="sms.num"&gt;
      &lt;/label&gt;
      &lt;label class="item item-input item-input-stacked item-stable"&gt;
        &lt;span class="input-label"&gt;&lt;/span&gt;
        &lt;input type="text" placeholder="Your message" ng-model="sms.msg"&gt;
      &lt;/label&gt;
      &lt;button class="button button-block button-dark" ng-click="send()"&gt; Send &lt;/button&gt;
      &lt;button class="button button-block button-dark" ng-click="social()"&gt; Social &lt;/button&gt;
    &lt;/ion-list&gt;
    &lt;/ion-content&gt;
  &lt;/ion-pane&gt;
  </code></pre>
  
  <p></p>
  
  <p>Angular Code:</p>
  
  <pre><code>.controller('ctrl', function($scope,$cordovaSms,$cordovaSplashscreen,$cordovaSocialSharing){
  
      $scope.social = function(){
  
          $cordovaSocialSharing.share("This is your message", "This is your subject", "www/img/ionic.png", "https://www.google.com")
          .then(
              function(result) {
                  console.log("Success");
                  console.log(result);
              }, 
              function(err) {
                  // An error occurred. Show a message to the user
                  console.log("error : "+err);
              }
          );
      }
  });
  </code></pre>