The problem is the following: As soon as I use the accordion in a view that is loaded in the ng-view directive, the accordion title clicks dont work correctly anymore
<
The problem is that Bootstrap appends #according_name
within a a
tag. This triggers a AngularJS routing and due to route change test.html
is loaded again on every click on accordian link.
Your options are to try to configure $locationProvider
to use HTML5 mode with hashbag if it works
$locationProvider.html5Mode(true).hashPrefix('!');
See some documentation here
Other would be to use angular-ui component but it has been not ported to support version 3 of bootstrap.