AngularJS - Modular forms with directives
问题 I originally asked this question here, but I think I got ahead of myself and made it more complicated than it really is, so I'm re-asking it here with a bit clearer wording. How do you create re-usable form widgets with directives and re-useable parameters? Like this: <form> <special-input label-text="A Special Input" bind-to="data.special"></special-input> <special-input label-text="Specialer" bind-to="data.moreSpecial"></special-input> </form> Directive templates don't seem to allow