我很難理解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) –