ng click or ng-change not working in toggle button. I use toggle-bootstrap package here
<input checked
data-toggle="toggle"
data-size="small"
type="checkbox"
data-on="16x9"
data-off="4x3"
ng-true-value="'16x9'"
ng-false-value="'4x3'"
ng-model="slideMode"
ng-change="setSlideMode()">
Angular code
$scope.slideMode = '16x9';
$scope.setSlideMode = function(){
console.log($scope.slideMode);
};