Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I scoured the documentation and wasn't able to determine how to generate a full url of a document/node using the angular service. contentResource.getNiceUrl doesn't generate it which I had high hopes on. Right now I'm doing something like:
$location.host() + "://" + $location.port() + ....
Is there a better way?
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Getting full url for node using angular services
I scoured the documentation and wasn't able to determine how to generate a full url of a document/node using the angular service. contentResource.getNiceUrl doesn't generate it which I had high hopes on. Right now I'm doing something like:
$location.host() + "://" + $location.port() + ....
Is there a better way?
is working on a reply...