code: function getComposed(uri, locals) {
    return controller.get(uri, locals).then(data => {
      // TODO: Check that we can't just reference the composer
      // require here because otherwise it's a circular dependency (via html-composer)
      return require('../services/composer').resolveComponentReferences(data, locals);
    });
  }
docs: get composed component data
  @param  {string} uri of root component
  @param  {object} locals
  @return {Promise} composed data of root component and children