feat(bazel): add `strict_templates` and `experimental_extended_template_diagnostics` to `ng_module()` rule (#43582)
feat(bazel): add `strict_templates` and `experimental_extended_template_diagnostics` to `ng_module()` rule (#43582)

Refs #42966.
Fixes #33452.

This allows `ng_module()` targets to be built with strict templates enabled, it mostly works the way we already do this internally. Also adds extended template diagnostics behind an experimental option so it can be used internally and for tests.

`strict_templates` can only be used if `type_check` is also enabled and `experimental_extended_template_diagnostics` can only be used if `strict_templates` is enabled.

PR Close #43582

manekinekko/angular,manekinekko/angular,ocombe/angular,gnomeontherun/angular,angular/angular,brandonroberts/angular,shairez/angular,brandonroberts/angular,brandonroberts/angular,gkalpak/angular,manekinekko/angular,gkalpak/angular,angular-indonesia/angular,brandonroberts/angular,JiaLiPassion/angular,manekinekko/angular,ocombe/angular,shairez/angular,angular/angular,gkalpak/angular,gkalpak/angular,gnomeontherun/angular,shairez/angular,JiaLiPassion/angular,ocombe/angular,shairez/angular,ocombe/angular,JiaLiPassion/angular,JiaLiPassion/angular,brandonroberts/angular,gnomeontherun/angular,shairez/angular,manekinekko/angular,angular-indonesia/angular,angular/angular,manekinekko/angular,angular-indonesia/angular,gnomeontherun/angular,ocombe/angular,angular-indonesia/angular,brandonroberts/angular,angular/angular,ocombe/angular