I have a strange issue with the ion-toggle directive in Ionic framework.
When using ion-toggle like this :
<ion-toggle ng-model="testToggle">Test toggle</ion-toggle>
JS:
$scope.$watch('testToggle',function(value) {
console.log('testToggle changed to '+value);
})
The controller doesn't receive any update at all.
Here's the CodePen : http://codepen.io/anon/pen/jPOMqz
You'll see that i've added an $interval that changes a binded variable to random in order to see that everything else works as expected
Thank you very much :)