Hacker News new | ask | show | jobs
by idProQuo 4505 days ago
I've never heard anybody mention Angular and Web Components as solving the same problem. I'm pretty fuzzy on front end MVC stuff in general, but I know almost nothing about Web Components. Do you know of any good tutorials or resources?
2 comments

http://customelements.io/ http://www.polymer-project.org/ http://www.polymer-project.org/docs/polymer/databinding.html https://github.com/webcomponents/element-boilerplate

For comparison to Angular, see http://angularjs.org/ Create components section or http://docs.angularjs.org/guide/directive .

Reusable components along with two-way data binding are the most important features of Angular. Web Components does components in a more product neutral, standardized way with a nicer API. Creating custom directives for elements in AngularJS is a pain.

Angular will utilize web components when they become a standard. Think of directives in Angular as a polyfill for web components.