IdanCo / ng1bs4

AngularJS with Bootstrap 4
https://idanco.github.io/ng1bs4
38 stars 13 forks source link

Update Readme for ES5 users? #64

Open bosticka opened 7 years ago

bosticka commented 7 years ago

I am not using ES6 at all so the import examples do not help me. To get it working for me, I had to use:

angular
    .module('module', [
        'ngSanitize',
        'ng1bs4.library'
    ]);

the .library piece was not obvious, had to look at the source code... :)

IdanCo commented 7 years ago

didn't think about it, Thanks for sharing!

Feel free to add any other snippets that might help the the ecmascriptly challenged amongst us.