You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.
When I install bootstrap using bower install angular-bootstrap, only the JS files are installed. The referenced templates are missing. If it is by design, which way is recommended to include the templates into my angular app?
The text was updated successfully, but these errors were encountered:
@jotbe yes, there are only js files in the distribution but some of them (ones with the -tpls) in the name are embeding templates in JavaScript (using $templateCache: http://docs.angularjs.org/api/ng.$templateCache).
Please not that you need only one of the listed files. If in doubt pick this one: ui-bootstrap-tpls-[version].min.js
As the last note: templates from directives should be never downloaded one by one from web server but rather embedded with your app via $templateCache.
Thank you for the hint about the $templateCache! I digged through the page with the build-files before and included the corresponding tpls-[version].min.js, but could not get it working somehow. Will take a deeper look at it. :)
When I install bootstrap using
bower install angular-bootstrap
, only the JS files are installed. The referenced templates are missing. If it is by design, which way is recommended to include the templates into my angular app?The text was updated successfully, but these errors were encountered: