angular-accordion
angular-accordion copied to clipboard
Controller 'angAccordion', required by directive 'collapsibleItem', can't be found!
I am using the accordion on a dashboard:
<table class="table grey-background" ng-hide="newSurveyFromTemplate"> <thead> <tr><!-- headers --> <th>Select a Template to Use</th> </tr> </thead> <ang-accordion> <tr class="survey-template" ng-repeat="template in templates" id="{{$index}}"> <collapsible-item item-title="{{template.name}}"> <button ng-click="useTemplate(template)">Use</button> <div class="template-question" ng-repeat="q in template.questions"> {{q}} </div> </collapsible-item> </tr> </ang-accordion> </table>
I initially included the library like this:
.module('app',['ngAnimate', "ngSanitize", "mgcrea.ngStrap", 'angular-google-analytics', 'ngCookies', 'ngclipboard', 'ng.deviceDetector', 'angAccordion'])
Any idea why it can't find the controller?