getTagsToScope = component => {
    const ctor = component.constructor;
    const componentTag = ctor.getMetadata().getPureTag();
    const tagsToScope = ctor.getUniqueDependencies().map(dep => dep.getMetadata().getPureTag()).filter(_CustomElementsScopeUtils.shouldScopeCustomElement);
    if ((0, _CustomElementsScopeUtils.shouldScopeCustomElement)(componentTag)) {
      tagsToScope.push(componentTag);
    }
    return tagsToScope;
  }
Returns all tags, used inside component's template subject to scoping.
@param component - the component
@returns {Array[]}
@private