In this article, we’ll create a carousel component with the use of custom structural directive. We’ll explore micro-syntax offered by Angular to create a clean domain-specific language to describe the directive inputs.
As you know, the new version of Angular has brought us a really interesting, but reliably fresh feature, called custom elements. According to different sources, developers could write a normal Angular application and then build it as a web component, where all fancy Angular features are supported. But it is not as simple as one could think.