title: Ionic2 Cordova Plugin not accessible
body: <p>I installed the x-toaster plugin in my ionic2 project with:</p>
  
  <pre><code>cordova plugin add cordova-plugin-x-toast --save
  </code></pre>
  
  <p>In Code I try:</p>
  
  <pre><code>window['plugins'].toast.show(message, "short", position);
  </code></pre>
  
  <p>Above does not seem to get hold of the plugin.</p>
  
  <p><a href="https://i.stack.imgur.com/AAp2y.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/AAp2y.png" alt="enter image description here"></a></p>
  
  <h2>My Component:</h2>
  
  <pre><code> constructor(
          public  navController:  NavController,
          private formBuilder:    FormBuilder,
          private goalService:    GoalService,
          private authService:    AuthService,
          private navService:     NavService,
          public platform:        Platform
      ) {
          super()
          this.contractForm = formBuilder.group({
              termsAccepted: [false, Validators.required],
          })
      }
  
       showToast(message, position) {
          this.platform.ready().then(() =&gt; {
              window['plugins'].toast.show(message, "short", position);
          });
      }
  </code></pre>