AngularJS 指令解析(二) 第一篇我们讲过了作用域(scope)这块内容,现在我们进入正题,讲AngularJS的指令. 什么是指令? 这里我们引用官方的一句话: Custom directives to access the DOM: In AngularJS, the only place where an application should access the DOM is within directives. This is important because artifac…