Skip to content

Controller 'angAccordion', required by directive 'collapsibleItem', can't be found! #34

Description

@chriscrosscutler

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions