Add prepended case, based on scope.$first

Hello,

This small pull request allows to take in account unshift on array, that trigger prepended instead of appended.

Regards