I have an application wherein when i click on edit button it pops up a bootstrap modal where I can edit the data. But the problem is when i change any data in the bootstrap modal, the data in the list also gets changed. Strange thing here is both the scope variable for modal edit data and the scope varaible associated with the data in the page is different.
This issue can be visualized using the below URL:
http://angularjs.mostlikers.com/curd-operation/
Click on the Edit button and try to change the modal data, it also changes the data in the table which should not be the ideal case until submit is clicked.
Any help would be appreciated, since stuck for a long time.