摘要:        
依赖注入 依赖注入(DI)是一个经典的设计模式, 主要是用来处理组件如何获得依赖的问题。关于DI,推荐阅读Martin Flower的文章(http://martinfowler.com/articles/injection.html)。 Angular负责创建组件,解决它们之间的依赖关系,并按要求...    阅读全文
posted @ 2015-09-17 18:03
连冰华
阅读(1266)
评论(0)
推荐(0)
        
            
        
        
摘要:        
方法1:写filter deliciousApp.filter('html', ['$sce', function ($sce) { return function (text) { return $sce.trustAsHtml(text); }; }]);方...    阅读全文
posted @ 2015-09-17 17:27
连冰华
阅读(1049)
评论(0)
推荐(0)
        
            
        
        
摘要:        
height:200px;overflow-y: scroll;width: 90%;-webkit-overflow-scrolling: touch;    阅读全文
posted @ 2015-09-17 13:26
连冰华
阅读(364)
评论(0)
推荐(0)
        
                    
                
浙公网安备 33010602011771号