Angular removing / from strings within Directive - seems to butcher html
问题 I'm having an issue (just learning Angular) with a string having any / removed and replaced with ="" . I have a directive that takes it's element and then wraps it with a div and provides some styling to the div - namely a background-url - it is the URL that is being replaced with something else. It may be a little odd - what I am actually trying to do here - and that's ok; i'm just trying to learn a little more about Angular and simple manipulation of elements seems a good place to tinker..