摘要:
一、定义 指令,可以把它简单的理解成在特定DOM元素上运行的函数,指令可以扩展这个元素的功能。指令的基本结构如下:angular.module('myApp', []).directive('myDirective', function() {return {restrict: String,pr... 阅读全文
摘要:
It has been 7 months since i went into this project(WEB font-end),i think it is time to write something about myserf. 阅读全文