got form submit working with angular for registration form