angular-ui / bootstrap

PLEASE READ THE PROJECT STATUS BELOW. Native AngularJS (Angular) directives for Bootstrap. Smaller footprint (20kB gzipped), no 3rd party JS dependencies (jQuery, bootstrap JS) required. Please read the README.md file before submitting an issue!
http://angular-ui.github.io/bootstrap/
MIT License
14.28k stars 6.73k forks source link

Controller 'uibAccordionGroup', required by directive 'uibAccordionHeading' can't be found #6547

Open r3wt opened 7 years ago

r3wt commented 7 years ago

The issues forum is NOT for support requests. It is for bugs and feature requests only. Please read https://github.com/angular-ui/bootstrap/blob/master/CONTRIBUTING.md and search existing issues (both open and closed) prior to opening any new issue and ensure you follow the instructions therein.

Bug description:

Error: [$compile:ctreq] Controller 'uibAccordionGroup', required by directive 'uibAccordionHeading', can't be found!

Link to minimally-working plunker that reproduces the issue:

Steps to reproduce the issue:

Version of Angular, UIBS, and Bootstrap

Angular: 1.6.4 UIBS: 2.5.0 Bootstrap: 3.6.x

r3wt commented 7 years ago

alright, the issue is because the developer used <uib-accordion-group> instead of <div uib-accordion-group>. this must have been a breaking change from an older version.

blowsie commented 7 years ago

I came across this because the documentation refers to <uib-accordion-group class=""></uib-accordion-group>

fcorneli commented 7 years ago

Stumbled upon the same issue, indeed due to the documentation.

lapo-luchini commented 6 years ago

Current documentation still refers to <uib-accordion-group> under the Known issues section.