ADDED:angular app example with form validate;