Angel Alvarado
Angel Alvarado

Reputation: 111

best way to load angular-strap modules selectively?

I want to avoid including the whole library into my application:

i.e. <script src="//cdnjs.cloudflare.com/ajax/libs/angular-strap/v2.3.8/angular-strap.min.js"></script>

For instance, I tried including mgcrea.ngStrap.tooltip.js.js, mgcrea.ngStrap.helpers.dateParser.js, gcrea.ngStrap.helpers.dateFormatter.js and mgcrea.ngStrap.timepicker.js but I'm still getting dependency errors (missing module mgcrea.ngStrap.core)

For reference here's the library website: http://mgcrea.github.io/angular-strap/

Upvotes: 2

Views: 112

Answers (0)

Related Questions