https://www.webcodegeeks.com/javascript/angular-js/angularjs-ng-checked-directive-example/
AngularJS ng-checked Directive Example