2013-07-06 36 views

回答

5

他们确实服务于类似的目的。然而Web组件不是Dart的一部分,它们是浏览器的一部分。 Dart Web-UI使用Web组件(http://www.w3.org/TR/2013/WD-components-intro-20130606/)。 AngularJS有计划将它们用于2.0,可以在这里阅读:http://www.2ality.com/2013/05/web-components-angular-ember.html

它是什么归结到许多功能是共享的。但是Angular.js有一个纯粹的JS实现,而Darts的Web-UI使用浏览器技术。

Angular will use the underlying web platform features available to it 
(e.g. Node.bind, template integration, Custom Elements, etc...)