how to use play/pause in one button on ionic3 : <p>I Developing a New mobile Musical app in ionic3</p>

<p>Now In my Project, I Have a Two buttons </p>

<p>1.<code>play</code>button</p>

<p>2.<code>pause</code> button</p>

<p>Here I need some help</p>

<p>When user click <code>play</code> button then <code>play</code>button will get hide and show <code>pause</code> button.If users again click <code>pause</code> button then need to show <code>play</code> button </p>

<p>How to do this in ionic3??</p>
