src/angular-spring-data-rest-provider.js
function getProcessedUrl(data, resourceName) {
                    // get the raw URL out of the resource name and check if it is valid
                    var rawUrl = checkUrl(data[config.linksKey][resourceName][config.linksHrefKey], resourceName,
                        config.linksHrefKey);

                    // extract the template parameters of the raw URL
                    return extractUrl(rawUrl, data[config.linksKey][resourceName].templated);
                }
function getProcessedUrl(data, resourceName) {
                    // get the raw URL out of the resource name and check if it is valid
                    var rawUrl = checkUrl(data[config.linksKey][resourceName][config.linksHrefKey], resourceName,
                        config.linksHrefKey);

                    // extract the template parameters of the raw URL
                    return extractUrl(rawUrl, data[config.linksKey][resourceName].templated);
                }
function getProcessedUrl ( data , resourceName ) { // get the raw URL out of the resource name and check if it is valid var rawUrl = checkUrl ( data [ config . linksKey ] [ resourceName ] [ config . linksHrefKey ] , resourceName , config . linksHrefKey ) ; // extract the template parameters of the raw URL return extractUrl ( rawUrl , data [ config . linksKey ] [ resourceName ] . templated ) ; }
Gets the processed URL of the given resource name form the given data object.
@param {object} data the given data object
@param {string} resourceName the resource name from which the URL is retrieved
@returns {string} the processed url
Gets the processed URL of the given resource name form the given data object .