angularJS1笔记-(9)-自定义指令(restrict/template/replace)
index.html:122index.js:varmyApp=angular.module('myApp',[],['$compileProvider',function($compileProvider){$compileProvider.directive('customTags',function(){return{//E:elementC:class属性A:attributeM:代表注释