I am having trouble following the logic here.  Are we disabling AngularJS' built in validation if this is set?  In what case would we want to do this?

Also, this function may make more sense as a validator instead of an invalidator.

And where is this used apart from the test?