I am studying how to use ionic to make a app. Now I have a page with 4 buttons on it, and a div( id = example). I was wondering how is it possible to load content into that div depending on the button press.
So if:
- press button 1 on -> show button 1 is pressed as text inside div
- press button 2 on -> show button 1 is pressed as text inside div
- etc…
How can I do this in angular/ionic?