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?

fiddle


Comments

Popular posts from this blog

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -

angular2 services - Angular 2 RC 4 Http post not firing -