BUG: Ionic Not Recognizing New Controllers When Running on Device


#1

I am encountering a weird bug in Ionic when running on an Android device. I add a new controller “myGardenVegetableDetailsController”. I have all the necessary references and everything when I deploy on the device and then use Remote Chrome Debugging to debug the device I find out that the file “myGardenVegetableDetailsController.js” is completely empty (blank).

I run the following:

ionic build android

ionic run android

Is this a known bug?


#2

Can you confirm that this works in the browser?
As long as the controller is in the www file, it should be getting copied over to the proper native locations.