I am encountering an issue with a recursive variable that has a specific value
path = <d:URL>http://www.google.com, Google</d:URL>
My goal is to bind this path into an Angular component. I have attempted to use the following method to bind the ng-href value.
<a ng-href="{{path.URL.split(",")[0]}}" target="_blank">{{path.URL.split(",")[1]}}</a>
However, it seems that this causes issues with the href attribute while still evaluating the split for the link title. Any suggestions on how I can resolve this would be greatly appreciated.
Many thanks.