AngularJS directive里面的API的执行顺序如何呢? controller/compile/preLinking/postLinking Posted on June 5, 2013June 5, 2013 By paulPosted in FRONT-END 前端 网上找到这个例子,非常简要的解释了一切: https://github.com/angular/angular.js/wiki/Understanding-Directives http://plnkr.co/edit/qrDMJBlnwdNlfBqEEXL2?p=preview