Remove modal data when closed

Hi,
How can I remove the data inside a modal when I hide it?
Now when I re-open the modal the data is still there.

Take a look at this post,

Was never resolved. Would like to see a snippet of what could be an the solution.

Yes, you remove modals form the DOM

http://ionicframework.com/docs/api/service/$ionicModal/