Angular Repeater

Directive that supports recursion

If you interested how to use this directive, please read this article: Recursively includible Angular directive


Usage

First include Angular Repeater in your project:

(function (DemoApp) {
  'use strict';

  DemoApp = angular.module('DemoApp', ['Repeater']);

  DemoApp.config(function () {});
}(this));

Than call recursive-repeater directive and provide it with an Angular model and label:

<recursive-repeater json-data="jsonData" label="MyLabel"></recursive-repeater>

Demo

Model

JSON data:
{{jsonData | json}}

Output