Why is this angular email validation valid?
angularjs, email, validation
Solution
Domains do not need to have a dot in them. What about `localhost`, e.g.?
`root@localhost` is a perfectly valid email address. And if you give a name to your system (let's say, `mail`), then `root@mail` is valid as well. And if you also have a user `me`, then `me@mail` finally is valid, too.
Problem
If you go here, and try to input `me@mail`, you will see that the directive says that the email field is valid. Why is that?