I'm newbie to angularjs. When I read the docs, I found it uses ng
as prefix of attributes:
<body ng:controller="PhoneListCtrl">
<ul>
<li ng:repeat="phone in phones">
{{phone.name}}
<p>{{phone.snippet}}</p>
</li>
</ul>
</body>
I want to know if I can modify it as another word, such as x
? Since I think x
is much easier to type than ng
.
git rebase
;-) – Orthopterous