AngularのNgForOfのNgとは何の略でしょうか?
2 件の回答
AngularJS / Miscellaneous/ FAQ によると
Why is this project called "AngularJS"? Why is the namespace called "ng"?
Because HTML has angular brackets and "ng" sounds like "AngularJS".
Angular を表してるそうです
@oriri さんの回答の追加情報として。
ng
はAngularが自身用のディレクティブを示す接頭辞として予約しているそうですね。
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.