摘要:
ng-classaccepts an "expression" that must evaluate to one of the following:a string of space-delimited class namesan array of class namesa map/object ... 阅读全文
摘要:
Directive Html haha 阅读全文
摘要:
Directive Html 标题: 内容: {{title}},{{text}} Directive Html 这里 {{ here }} 阅读全文
摘要:
4. 依赖注入 函数定义完整的写法应该像AMD声明一样: var BoxCtrl = ['$scope', '$element', function(s, e){}]; 简单起见就写成了一个函数定义原本的样子,然后再定义参数的名字上做文章起到依赖声明的作用,所以参数的名字不能随便写。 ... 阅读全文