Fixed not working validation on Angular 1.3.x

Angular 1.3.x doesn't accept numbers to bool conversion in $setValidity()