Ionic CMD tool remove my added files after adding a plugin

I created a test project and added one html file and one JS file, after that added camera plugin like this

ionic plugin add cordoba-plugin-camera

after I got back to Android Studio, all new files are gone, I though it was my mistake and started a brand new project, and that was reproduced.

Can anyone explain this?