Angular:

http://angularjs.org/

by mrajcok

HTML

<div ng-controller="ParentCtrl">
    <div ng-controller="ChildCtrl">
        <div ng-repeat="op in person.testArray">{{op.id}}</div>
    </div>
</div>

JavaScript

var app = angular.module('myApp', []);

function ParentCtrl($scope) {
    $scope.person = {};
}

function ChildCtrl($scope) {
    $scope.person.testArray = [{
        id: "test"
    }, {
        id: "test2"
    }];
}