docs: function extractUrlTemplates(resourceName) {
                      if (hasUrlTemplate(resourceName)) {
                          var indexOfSlash = resourceName.indexOf("/");
                          return [resourceName.substr(0, indexOfSlash), resourceName.substr(indexOfSlash, resourceName.length)];
                      }
                  }