I put the project here :
but beacuse it need in directive to read from useremail.html file it not work at all. if anybody can put it in inline template and make it work would be great. I try it but I failed ! if you download and put all files in a server it will work. my problem is that I dynamically add some validation to a field but when the field is invalid it remove the content. www.plnkr.co/edit/f91dJlloO364w8ERLI5V?p=preview -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.