Add AngualrJS form validations for Rails models