I know it is possible to create custom HTML5 elements/widgets in AngularJS by creating directives.
I recently been looking into Polymer. Another framework that makes creating custom elements easy as well. However, Polymer uses native HTML5 APIs like the ShadowDOM, which AngularJS doesn't.
Note: I am only thinking of creating custom elements/widgets for the latest browsers.
It looks like both AngularJS and Polymer can do the job done. But what are the pros and cons of the two libraries?