<div>
    <div rt-repeat="pirate in [{name: 'Jack Sparrow', profile: {age: 99}}, {name: 'Someone Else', profile: {age: 98}}]" rt-scope="pirate.profile as profile" key="p-{pirateIndex}">
        {pirateIndex}-{pirate.name}-{profile.age}
    </div>
</div>