packages/featurebook-serve/public/scripts/feature-tree.directive.js
(function () {
'use strict';
angular.module('scFeatureBook')
.directive('featureTree', featureTreeDirectiveFactory);
function featureTreeDirectiveFactory() {
return {
restrict: 'E',
templateUrl: 'views/feature-tree.html',
replace: true,
transclude: true,
scope: {
tree: '=ngModel'
}
};
}
}());