Ionic 2: Using Cordova Plugins
<p>I did a lot of googling and couldn't seem to come up with much of an answer, how does the syntax of calling Cordova plugins in Ionic 2 work. </p>

<p>Like for example, in Ionic 1:
I was using a facebook plugin, and I would call it like:         $cordovaFacebook.login(["public_profile", "email","name","last_name","first_name","birthday","age_range","link"]).then(function (success) {</p>

<p>I would also 'inject' it and add it as a dependency. Both things I am not sure how to do with Ionic 2.</p>

<p>I read somewhere that with Ionic 2 that isn't as nesscary, but I am still unsure</p>