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!
// main.js
import { bootstrap } from './bootstrap';
angular.module('myModule', bootstrap);
Unfortunately, this is not working. I checked bundle and there are both templates cache and the code for components, so this is not a problem with bundling.
Also, I guessed that it could be a problem with namespaces. So I tried to do it like that:
I debugged code and the directives are actually linked to the elements, but when I expect them to start work as they should, that don't.
After all I decided to require all of the bundle at once.
Bug description:
I tried use webpack modules loading from
angular-ui-bootstrap
.Unfortunately, this is not working. I checked bundle and there are both templates cache and the code for components, so this is not a problem with bundling. Also, I guessed that it could be a problem with namespaces. So I tried to do it like that:
I debugged code and the directives are actually linked to the elements, but when I expect them to start work as they should, that don't. After all I decided to require all of the bundle at once.
And all of the functionality started working as it should.
Version of Angular, UIBS, and Bootstrap
Angular: 1.5.8
UIBS: 2.5.0