I'm working on a SPA that has some huge forms that I decided to put inside custom components and just bind all forms to a controller that checks their validity and do some extra stuff before sending them to a server.
The forms are also inside containers that have a ton of classes from my company's web design front-end and some behaviour in JS, so I thought it'd make things cleaner to put these containers in directives and control their behaviours there.
But even thought I set these directives' scopes to false, my forms just lost their bindings to the validation controller.
I reproduced this issue in a plunker https://plnkr.co/edit/kn9GEF3jhEhAkJGQAQny?p=preview
<!--<my-container>-->
<h1> Header Form</h1>
<header-form form="hForm" model="header"></header-form>
<!--</my-container>-->
<my-container>
<h1> Section Form </h1>
<section-form form="sForm" model="section"></section-form>
</my-container>
where the second form is wrapped by the directive
Any hints? Thanks in advance