angularjs教程——自定义指令

angularjs的自定义指令

-angular.module

  >controller

  >run

  >filter

  >directive

    *restrict的四种定义方式

    *replace

    *template

    *templateUrl

angularjs的自定义指令

  -directive

   》scope *独立作用域true *隔离作用域{} *@ *=*&

   》link  *scope *element *attr *reController

原文地址:https://www.cnblogs.com/cacti/p/6078149.html