Loading an external script using [removed] in Angular

后端 未结 1 1461
灰色年华
灰色年华 2021-01-22 16:27

I need to include a script that has a session ID in the URL (I wouldn\'t normally do this, but I\'m using Crocodoc to embed documents into the page and they don\'t seem to have

1条回答
  •  时光说笑
    2021-01-22 16:43

    Try evaluating the link inside the controller, assigning it to a scope variable and then referencing it in the ng-src.

    0 讨论(0)
提交回复
热议问题