Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I have following code

<head>
<script>
    var sourceUrl = 'image url';

    </script>
</head>

and following HTML

<span style="background-image: url('{{sourceUrl }}{{myanotherangularVariableWhichisWorking}}');></span>

Now my Source URL is not coming here..

Any idea how to do this

Thanks

share

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.