added validation to register person form using angularjs ng-class and expressions