8c3f1717a8
When we resolve a component `templateUrl` we copy the contents of the resolved template file into the `template` property. Previously we would then remove the `templateUrl` to indicate that the component has been resolved. But this meant that we no longer had access to the URL of the original template file. This is essential for diagnostics messages about the template compilation. Now the existence of the `template` property overrides the existence of `templateUrl`, which allows us to keep the `templateUrl` property. PR Close #28055 |
||
---|---|---|
.. | ||
di_spec.ts | ||
resource_loading_spec.ts |