First, make sure that we don't already have an example for what you're trying to do.
The website has a LOT of examples. Poke around
to see if we have one for what you're trying to do.
Reproduce your question in this jsbin.
Protip: Please format your code.
In jsbin, if you select all the text,
then hit shift + tab,
it will format all the code for you
Update the steps to reproduce with steps the user takes
or just a sentence or two describing what you're trying
to accomplish
Copy the link to it without the number.
For example: jsbin.com/abcde/3/edit -> jsbin.com/abcde/edit
which allows you to make updates to the jsbin without updating your links
Paste the link in a (well done) question on
StackOverflow
Paste a link to the StackOverflow question into
chat.angular-formly.com
and ask politely for help.