解决angular中串url地址时报错。 个人遇见问题,个人意见 例如:Error: [$sce:insecurl] Blocked loading resource from url not allowed by $sceDelegate policy. 在赋值时,使用$sce.trustAsResourceUrl(ls_msg); ls_msg为变量名。