Image Get Requests with AngularJS

前端 未结 2 1929
甜味超标
甜味超标 2020-12-02 12:51

I am storing the the source string of an image to be rendered in HTML in the AngularJS controller, however it yields a 404 before the Angular controller is initialized.

2条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-02 13:17

    If someone is searching the solution for styling background-image then use this:

    ...

提交回复
热议问题