You can create your own widget by following way.
1. Create a component then declare and export component in module file like this :
declarations: [MapComponent],
exports: [MapComponent]
2. Use the selector of custom widgets component in another component like this :
<embryo-Map></embryo-Map>
For Reference : https://www.oodlestechnologies.com/blogs/How-to-share-component-to-multiple-modules-in-Angular2