How to alert user on toggle on?

Hello,

I want to ask that is there any way where the gets alert when he toggle ON/OFF?
I also want to show ON/OFF as toggle text? possible in ionic?

Hi, resolved this

$scope.notifyUser = function(){
$timeout(function(){
alert("You are about to Ignition ON/OFF this vehicle: ");
},0);
};