我使用meteor+angular,我想在指令中使用templateUrl来包含nav.ng.html
但我抛出一个错误
Error: [$compile:tplrt] Template for directive 'checkNav' must have exactly one root element
索引.html:
5 <body ng-app='checkApp' ng-controller='CheckCtrl'>
6 <check-nav></check-nav>
7 </body>
指令.js
1 angular.module 'checkApp'
2 .directive 'checkNav', () ->
3 ┊ restrict: 'E'
4 ┊ replace: true
5 ┊ templateUrl: 'client/templates/check-views/nav.ng.html'
导航.ng.html
<div>test</div>
我该如何解决?