angular.js/test/ng
Pete Bacon Darwin b56b21a898 fix(input): false is no longer an empty value by default
`checkboxInputType` and `ngList` directives need to have special logic for whether
they are empty or not.  Previously this had been hard coded into their
own directives or the `ngRequired` directive.  This made it difficult to handle
these special cases.

This change factors out the question of whether an input is empty into a method
`$isEmpty` on the `ngModelController`.  The `ngRequired` directive now uses this
method when testing for validity and directives, such as `checkbox` or `ngList`
can override it to apply logic specific to their needs.

Closes #3490, #3658, #2594
2013-10-07 16:47:51 -07:00
..
directive
filter
anchorScrollSpec.js
animateSpec.js
browserSpecs.js
cacheFactorySpec.js
compileSpec.js
controllerSpec.js
documentSpec.js
exceptionHandlerSpec.js
filterSpec.js
httpBackendSpec.js
httpSpec.js
interpolateSpec.js
intervalSpec.js
localeSpec.js
locationSpec.js
logSpec.js
parseSpec.js
qSpec.js
rootElementSpec.js
rootScopeSpec.js
sceSpecs.js
snifferSpec.js
timeoutSpec.js
urlUtilsSpec.js
windowSpec.js