我很难理解AngularJS中的指令。通过AngularJS自己的定义是在最好的困惑:什么是Angular中的指令.JS
Directives are a way to teach HTML new tricks. During DOM compilation directives are matched against the HTML and executed. This allows directives to register behavior, or transform the DOM.
可能有人在用简单的英语AngularJS教学编程常用解释指令。例如:directives are funcions/objects that extends ...
的可能重复[什么是angularjs指令?](HTTP:/ /stackoverflow.com/questions/13875466/what-is-an-angularjs-directive) –