javascript - Angularjs ng-style background image doesn't work when the URL contains brackets -
i'm using ngstyle directive in angularjs change background image of element , i've noticed the style not applied when url of image contains brackets "()".
<div ng-style="{'background-image': 'url(https://sumosoft.blob.core.windows.net/rescorp/properties/nw1/marylebone%20road/harley%20house/63/27283_hi_res_1_(1)_1200.jpg)' }"> hello </div>
any suggestion?
Comments
Post a Comment