I’m new to ionic and angular and I want to create a custom element directive, like:
<radio-group
value="'a'"
values="{{['a', 'b', 'c']}}"
on-value-change="onChange()"
radio-group-name="'Values'"
></radio-group>
function onChange(newValue){}
so it’s pretty similar to this example, but I need it to generate link
<a href="#/radio-group-page">Values</a>
by clicking it we are going on a new page with values list (a, b, c) and ‘Values’ title. When we select new item, on-value-change
event fires.
Is it possible? I don’t know how to bind this functionality between pages.
I dont want to create new template and controller for each radio-group.