How to use ng-href with absolute url?
问题 I'm still new to angularjs, and I have a problem that I seem to not be able to find solution, and I don't have time to go look into angular source. This is my scenario: I have some json data with collection of urls that I want to show on screen. I have an element with ng-repeat="link in links" and inside I have <a ng-href="{{link.url}}">{{link.title}}</a> That works, but all links are pointing to mydomain/apppath/ valueoflink.title I want them to be absolute, only valueoflink.title without