我正在尝试创建一个图表指令(对现有的解决方案不感兴趣)。我希望使用bartemplate的子指令为每个栏定义可定义的模板。我想迭代bartemplate,所以我想使用ng-repeat和ng-transclude的模板就可以了.相反,角抛出一个错误。Error: [ngTransclude:orphan] Illegal use of ngTransclude directive in the template!我希望能够将我添加到图
我在一个带有UI路由器的项目中使用了角向导,如果单击右侧的"Create“按钮,您可以看到一个演示:
Error: [ngTransclude:orphan] Illegal use of ngTransclude directive in the template!Element: <div class="steps" ng-transclud
我很难让ng转换器在ng开关默认指令中工作。这是我的密码:.directive('field', ['$compile', function($complile) { restrict</field>[ngTransclude:orphan] Illegal use of ngTransclude directive in