Code changed in nested1.html
<div ng-init="temp=user.id"data-ng-click="layout.toggleNestedContent(temp)" style="cursor:pointer;">
{{user.name}} {{user.id}} Click me in order to display the other nested box!
</div>
Check below is the working example