jkroepke/featurebook-js

View on GitHub
packages/featurebook-serve/public/scripts/feature-tree.directive.js

Summary

Maintainability
A
0 mins
Test Coverage
(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'
      }
    };
  }

}());