uses $index in ng-repeat for nested resource
Merge pull request #2 from platanus/angular_index

uses $index in ng-repeat for nested resource