I just created a directive to use a button-bar for a radio input.
Here is a working plunker:
This seems to work well, but there are two things I don’t really like about it, that maybe one the Angular gurus out there can help with:
I copied most of the radio directive from the ionic core, (as well as the css). Is there a good way to make this more dry? The only thing I really need to change is the template.
My method requires two directives, one for the radio input itself and one for a wrapper.
And for the Ionic team, any interest for this functionality in the core?