Add dom and includeChildren parameters to scope.$.update method
Performance improvements to for loops
Performance: repeated nodes are moved in the DOM only if necessary

Manipulating DOM structure is expensive.
Remember focussed element in handleRepeat and restore focus if we've moved the focussed element
Example of repeat containing text fields

Demonstrates focus behaviour improvements with new handleRepeat implementation being very sparing with DOM node movements
Performance: don't set DOM node value if the value hasn't changed

Setting the DOM appears to be much more expensive than reading from it, so we appear to gain performance in spite of the extra "get" each time we set.
Performance: arrayIndexOf, make typeof decision once