The Angular transformer is Component templates in the Dart files as a string of HTML.
This is causing the line numbers reported in stack traces to be incorrect.
Steps to reproduce:
pub serve test
In Dartium, open the component's Dart file, notice that the file numbers are shifted.
Suggested fix: include the HTML and CSS as strings at the end of the file. Reference those strings from the @component, taking care not to alter the line count.
The Angular transformer is Component templates in the Dart files as a string of HTML.
This is causing the line numbers reported in stack traces to be incorrect.
Steps to reproduce:
pub serve test
In Dartium, open the component's Dart file, notice that the file numbers are shifted.
Suggested fix: include the HTML and CSS as strings at the end of the file. Reference those strings from the @component, taking care not to alter the line count.