Analyze a template string and extract all usages.
The template string to analyze
Array of template usages
Philosophy: "Collect Everything, Filter Later"
Extract inline template from component decorator.
The @Component decorator text
The template string or undefined
Check if a template uses a specific selector.
The template string
The selector to search for
True if selector is used
Extracts all usages from Angular templates without filtering or interpretation. Plugins decide which of the collected elements matter.