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.
- 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
How can I do this in angular/ionic?