Add angularjs validation.