1. PoC for server side validation (only for one field, should be changed
to a directive).
2. Adding validation on HTTP status code for invalide object