摘要: AngularJS 指令解析(二) 第一篇我们讲过了作用域(scope)这块内容,现在我们进入正题,讲AngularJS的指令。 什么是指令? 这里我们引用官方的一句话: Custom directives to access the DOM: In AngularJS, the only plac 阅读全文
posted @ 2018-10-19 13:04 Riemannhan 阅读(143) 评论(0) 推荐(0) 编辑
摘要: AngularJS 指令解析(一) 前言 笔者AngularJS接触时间差不多是两年多,虽然这两年多AngularJS版本日新月异,但是笔者的版本是比较老的1.4.3,一方面是自己对这个版本比较熟悉,另一方面是老项目需要维护,当然本文笔者也尽可能地写到通俗易懂,毕竟AngularJS在很多设计上也有 阅读全文
posted @ 2018-10-19 11:30 Riemannhan 阅读(174) 评论(0) 推荐(0) 编辑