ng(基本指令)
ng-switch ng-repeat ng-view
我想知道是否有人知道什么是代表,因为我不能在文档中找到它。它是某事的首字母缩略词吗?
从the FAQ:
Why is this project called “AngularJS”? Why is the namespace called “ng”? Because HTML has Angular brackets and “ng” sounds like “Angular”.
Why is this project called “AngularJS”? Why is the namespace called “ng”?
Because HTML has Angular brackets and “ng” sounds like “Angular”.