Form Validation Using Javascript In Angular