アプリで angular-ui を使用しようとしましたが、1 つの小さな問題を解決できません。たとえば、アコーディオンを使ってみます。プランカーのようなクリーンなページではすべてうまく機能しますが、実際のアプリではクリックイベントが機能しません。モジュールに含める
angular.module('moduleName', ['ui.bootstrap', 'myFilters', 'my1Services', 'my2Services'])
私のインクルード
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.0.5/angular.js"></script>
<script src="http://angular-ui.github.io/bootstrap/ui-bootstrap-tpls-0.5.0.js"></script>
<script src="js/app.js"></script>
<script src="js/services.js"></script>
<script src="js/controllers.js"></script>
<script src="js/filters.js"></script>
<script src="js/directives.js"></script>
<script src="lib/angular/angular-resource.js"></script>
ヘッダーをクリックしてみます
<accordion-group heading="Static Header">
This content is straight in the template.
</accordion-group>
しかし、何も起こりません。以下のコードは、ヘッダーをクリックして開く必要があります
<accordion-group heading="{{group.title}}" ng-repeat="group in groups">
{{group.content}}
</accordion-group>
クリックが機能しないのはなぜですか? ありがとう