Remove dead code
Fix bug 1 share refs subdocs...
Fix all bugs in share ref doc and ngdupes/ngrepeat with track by