Skip to content

Instantly share code, notes, and snippets.

bog1 / 0-angular-tree.js
Created Oct 19, 2015 — forked from furf/0-angular-tree.js
A minimal recursive tree directive for Angular.js. Demo:
View 0-angular-tree.js
var app = angular.module('app', []);
app.directive('yaTree', function () {
return {
restrict: 'A',
transclude: 'element',
priority: 1000,
terminal: true,
compile: function (tElement, tAttrs, transclude) {
You can’t perform that action at this time.