Ionic toggle

Hello guys, I have a problem when using the , it is related to a ng-model that can be true or false, however when any change is made in the ng-model is not reflected in the view I would like to wondering if anyone knows how to solve it.