Use $compile to add DOM with AngularJS dynamically.
Test setCustomValidity() and compare "onchange" and "oninput".