Reputation: 107
Hi have modal: in the modal I generating a data with $scope.text from the js file by enter user and password from the user (he insert in input file 2 fileds in modal and I generate data from that- static link)
while I close the modal I loosing the data and if I will open again the modal from that link the data will disappear. I would like to keep it , even until the browser is refreshed
Upvotes: 0
Views: 1556
Reputation: 11953
Bind the modal data to controller scope. after that you can use it.
Upvotes: 1