Recursive repeater for AngularJS