>
>noDirtyCheck is a directive. I add data in front to avoid the warnings from the VS.
Instead of
data-no:dirty-check
I would have expected to see:
data-no="dirty-check"
>BTW, I was wrong saying that ng-change is not firing. I had a breakpoint on the wrong line. It does fire but in the code the $scope.showFinalized is always false regardless on what state the checkbox is.
I don't know if this is the case or not, but I've gotten in the habit of adding an object into my scope and then adding the properties to it instead. Angular gets weird with scope inheritance and stuff can sometimes just not work.
Ex.
In the controller:
$scope.data = { showFinalized : false };
Then ng-bind to "data.showFinalized".
(there isn't anything special about the name "data" - you could name this var anything you'd like).