javascript - Angular $templatecache name conflicts -
we have single page application structure multiple html templates. multiple developers pushing own submodules app , during bundling process (webpack) pushing these templates $templatecache. inevitably of apps partials happen have same names (dashboard, nav, section etc) , angular overwriting templates. is there way avoid name conflicts during angular template caching process? or there gulp-grunt etc plugin create unique template names , match-replace them in htmls? well, try out longer names won't conflict... dashboard, nav, section generic , conflict try: dashboard-for-admin-page, nav-for-submodule-alpha-0, section-right-of-main-page, etc the way team have folder structure each module complex names example: /partials ----/global-partials --------/header-global.html --------/footer-global.html ----/main-page --------/index-for-main-page.html --------/partial-header-on-main-page.html --------/left-pane-on-main-page.html ----/about-us-page ----/cart-page...