ui-bootstrap-tpls failed to load template

前端 未结 7 788
被撕碎了的回忆
被撕碎了的回忆 2020-12-17 10:45

I\'ve inherited an angular project, and it\'s having problems loading the ui-bootstrap-tpls modules.

For each directive it\'s trying to use from bootstrap, I get som

相关标签:
7条回答
  • 2020-12-17 11:11

    For me it was the interceptor that was producing the error i had to add the below code to make it ignore the calls that are not made to my api:

    if (config.url.indexOf('templates/') == 0 || config.url.indexOf('uib/') == 0) 
    {
       console.log('ignoring '+config.url);
       return config;
    }
    
    0 讨论(0)
提交回复
热议问题