Ionic ngCordova ShareService issue

I have installed $cordovaSocialSharing
by executing

cordova plugin add

in package.json there is new entry for the plugin

"cordovaPlugins": [
      "locator": "",
      "id": "nl.x-services.plugins.socialsharing"

in ios, android platforms also the plugin is declared but when I try to use it

like $cordovaSocialSharing.share(…) I get error from ng-cordova.js:

undefined is not an object (evaluating '$window.plugins.socialsharing')


$window.plugins.socialsharing.share(message, subject, file, link, function () {
        }, function () {
        return q.promise;

Seems there are some issue on installation.

Any ideas?