LukaszWatroba / v-accordion

Multi-level accordion component for AngularJS.
http://lukaszwatroba.github.io/v-accordion
MIT License
310 stars 100 forks source link

Nested content not showing #52

Closed ofuochi closed 8 years ago

ofuochi commented 8 years ago

Whenever I click on a pane, the "+" sign changes accordingly to the "-" sign but it does not display it's content. What am I doing wrong? Here is my code.

<div  ng-controller="myCtrl" ng-app = "myApp">
<v-accordion class="vAccordion--default">
    <v-pane ng-repeat="cat in categories" expanded = "false">
        <v-pane-header>
            {{ ::cat.name }}
        </v-pane-header>

        <v-pane-content>
            <p>{[{::cat.descritpion}]} This is the content</p>
        </v-pane-content>
    </v-pane>
</v-accordion>

LukaszWatroba commented 8 years ago

ngAnimate is required.

ofuochi commented 8 years ago

Thank you. It worked.