Add minErr to ngResource and ngSanitize modules