Dynamically Populate an Ionic Popup

Is there any way to populate an Ionic Popup dynamically with buttons. For instance I have an array of strings (locations) and I would like each item in the array to become a button.

I can get around this easily by bringing the user to a new page with the locations on it but I said I would chance posting here first.