Answer the question
In order to leave comments, you need to log in
AngularJS. Why can't he see the variable?
I am using the accordion component. angular-ui.github.io/bootstrap
There is a template
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="panel-title">
<a class="accordion-toggle" ng-click="isOpen =!isOpen" accordion-transclude="heading">{{heading}}</a>
</h4>
</div>
<div class="panel-collapse" collapse="!isOpen">
{{isOpen}}
<div class="panel-body" ng-transclude>
{{isOpen}}
</div>
</div>
</div>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question