I've been hitting this as well with my custom plugin. I generally find that removing the entry for the plugin from package.json and doing
$ ionic state refresh
works pretty well.
It's a bit annoying, though, since refreshing state takes a lonnng time.