Angular service to validate JSON schema using tv4 lib