![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
angularjs
deep code
这个作者很懒,什么都没留下…
展开
-
AngularJS 学习笔记(一)
属性以ng开头 为适应h5可以用data-ng开头<div ng-app="" ng-init="person={firstName:'John',lastName:'Doe'}"> <p>姓为 {{ person.lastName }}</p> </div>ng-init的值可以为对象如上例或数组,points=[1,15,19,2,40]ng-model ng-init ng-bind原创 2017-04-26 00:06:18 · 286 阅读 · 0 评论 -
AngularJS2 学习笔记(一)
How WorksEach components is composed of three parts: • Component Decorator • A View • A ControllerThe @Component is called a decorator. It adds metadata to the class that follows it . The @Componen原创 2017-04-27 13:48:30 · 435 阅读 · 0 评论