A little trick with Angular forms and directives 🃏
Imagine having a form that you want to use at multiple places inside your application. The form will have the same layout but the validation will be different. In our case, this form is used in a procedure and in each step of the procedure the form gets more restrictive.s? Can you keep it [DRY](https://en.wikipedia.org/wiki/Don%27t_repeat_yourself)? We had this problem and came up with the following solution.
Tags: angular, forms, typescript, webdev