refactor(script-edit-ui): ngRepeat: replacing evil $parent.$index hack with $index aliasing

https://groups.google.com/forum/#!topic/angular/pezX6EKXVBI - shame on you guys ;-)