docs(cookbook/adv_forms): simplify example

Pass the `$index` directly to the `removeContact` function, instead of
searching for it in an expensive forEach loop.

Closes #4320
Merge branch 'master' of https://github.com/angular/angular.js
componentizd!