Add `track by $index` to the `ng-repeat` in the Tab template

Add `track by $index` to the `ng-repeat` in the Tab template, to fix issues with nested tabs.

Fixes #1201