摘要:
在mobile web设计 中,我们常常需要使用em这个字体大小的单位。em到底是多少呢?em到底应该设置为多少个em呢?通常换算成方法是1em=target fontsize we want/fontsize of containing element ,比如我们设置html tag的font... 阅读全文
摘要:
angular.element($0).scope()什么是scope?scope是一个refer to the application model的object。它是一个expression的执行上下文context。scopes模仿DOM的层次模型也有层次关系。Scopes可以watch一个... 阅读全文
摘要:
NgModelController为ngModel directive提供了API。这个controller包含了关于data-binding,validation,css update, value formatting and parsing的相关service.该controller本意上... 阅读全文