Fixed angular directive for complex ng-repeat expressions

This fix will allow `ng-sortable` directive to work properly with complex `ng-repeat` expressions such as `(index, item) in some.list track by $index`