tomastrajan / angular-ngrx-material-starter

Angular, NgRx, Angular CLI & Angular Material Starter Project
https://tomastrajan.github.io/angular-ngrx-material-starter
MIT License
2.83k stars 916 forks source link

selector issue #569

Open BradleyLankler opened 2 years ago

BradleyLankler commented 2 years ago

Minimal reproduction of the bug with instructions:

Am using as a selector in your html and it is appearing on the page i.e. hello world still prints hello world

Expected behavior:

An error should be popping up saying selector is not valid

Other information:

How is this working?

I would be willing to submit a PR to fix this issue:

no [ ] Yes (Assistance is provided if you need help submitting a pull request)
[ ] No

jbistis commented 2 years ago

More on this, e.g. in stock-market-container.component.html, I can add hello at the top and there is no console error but if remove the dash, hello I get the error NG0304: 'abcxyz' is not a known element. This behavior is only in ExamplesModule. In all other modules, it works as expected.

jbistis commented 2 years ago

Here is a screen grab tag-issue

jbistis commented 2 years ago

here it is. tag-issue

jbistis commented 2 years ago

One more update...it only happens in OurServicesModule.

jbistis commented 2 years ago

The issue is in the ExamplesModule only.