This repository was archived by the owner on Jul 1, 2020. It is now read-only.

Description
I've tried to use addValidator() and removeValidator() and have it working but its pretty awful IMO.
Going in I had almost expected that validation rules on a field would be disabled if ng-required was false. But then maybe that was an unreasonable expectation.
Maybe I am just missing something obvious.
We have quiet a few forms were some fields appear and are required to have a value if a checkbox is selected.
Thanks for reading,
Rob.