I have written a very simple script to test angularJS ng-repeat. Here is the script
When I paste this script in a script editor web part and click "Apply" in the web part, the script goes in an infinite loop and keeps on repeating the LI . I have to close the browser tab and open it again. By when I open the site again, the web part looks fine when the page is not in edit mode and the values are properly binded to the "LI".
Looks like the issue occurs only in the edit mode of the page. Any clue what is causing this. I am not able to figure out.