myForm.myImage.$valid = {{myForm.myImage.$valid}} myForm.myImage.$error = {{myForm.myImage.$error}} myForm.myImage.$dirty = {{myForm.myImage.$dirty}} myForm.$valid = {{myForm.$valid}} myForm.$error.image = {{!!myForm.$error.image}} myForm.$error.dimensions (height < 400) = {{!!myForm.$error.dimensions}}
Not a JPEG or a PNG!
Image height should be smaller than 400!