Plugin not loaded on ionic deploy

I am trying to get updates with ionic deploy, I added all packages and added to

app.js $ionicDeploy

but get an error on:

$ionicDeploy.check().then(function(response) {

the error the I get is:

“Plugin not loaded”

Thanks for the help!

Make sure you have your deploy code wrapped in a

$ionicPlatform.ready 

function.

Keep in mind that ionic deploy is not designed to work on browsers

There is a thread about this in the ionic forums:

http://forum.ionicframework.com/t/deploy-ionic-app-as-a-website/2845/18

A possible solution is found here