75518


AngularのNgForOfのNgとは何の略でしょうか？

[NgForOf](https://angular.jp/api/common/NgForOf)


CC BY-SA 4.0
2021-04-26T09:55:08.503
75517
2021-04-26T10:52:12.853
19297
question
angularjs typescript angular
AngularのNgForOfのNgとは何の略でしょうか？


[AngularJS / Miscellaneous/ FAQ](https://docs.angularjs.org/misc/faq) によると

> Why is this project called "AngularJS"? Why is the namespace called "ng"?  
>  
>  Because HTML has angular brackets and "ng" sounds like "AngularJS".

A **ng** ular を表してるそうです


CC BY-SA 4.0
2021-04-26T10:31:37.337
75518
2021-04-26T10:47:12.177
2021-04-26T10:47:12.177
3060
43025
75517
answer


@oriri さんの回答の追加情報として。

`ng`はAngularが自身用のディレクティブを示す接頭辞として予約しているそうですね。

[Directive custom prefix](https://angular.io/guide/styleguide#directive-
custom-prefix)

> **Don't** prefix a directive name with `ng` because that prefix is reserved
> for Angular and using it could cause bugs that are difficult to diagnose.

[NgForOf DIRECTIVE](https://angular.jp/api/common/NgForOf)


CC BY-SA 4.0
2021-04-26T10:52:12.853
75520
2021-04-26T10:52:12.853
26370
75517
answer