Click the button to see it in action. The directive handles the state changing logic of replacing the button text and toggling a loading class.

Your Pokemon:

{{ selectedPokemon }}