finished angularjs regisForm validation except for xhr calls