I am trying to create a directive that allows for multiple contact
fields to be inserted
i made it work as in this fiddle
http://jsfiddle.net/agamennon12345/uFb3x/
for my next step i want to add custom validation to the fields based
on the combo-box filed type selection
in my effort i was trying to use a watch inside the link function. so
here are my questions:
Why does that watch does not fire upon changes into the contacts
collection?
How to watch for changes in the contacts collection?
How do i add custom validation to my fields?
Some thoughts
I know i have to add a form to the template or to the scope,
probably this could work both ways but again the details on how to
make it work eludes me
I try splashing form and validation ctrl.$parsers.unshift all
around with no success
i am reading the forums and the docs for days without avail, i just
can't wrap my head around the docs and pull this off without
assistance so any help is greatly appreciated!