2016-10-10 | 4379

问答列出至少三种实现不同模块之间通信方式?

答案:
解释:
  • Service

  • events,指定绑定的事件

  • 使用 $rootScope

  • controller之间直接使用 $parent , $$childHead 等

  • directive 指定属性进行数据绑定

html5面试题
it面试经验

发表评论

    评价:
    Rich Text Editor
    最新评论