Ionic - custom UI class

I’m trying to implement into ionic/cordova by creating cordova plugin. But I don’t know how I can implement this part:

  stream:type="stream_default OR stream_native" />

in .html/.js file. As I know that part is custom view. So is there any possibility to “add” it and mix with cordova plugin?

Look at other Cordova plugins adding a “camera” or “video” view inside the app. Maybe they can give you an idea how to solve this. (Disclaimer: There are lot of issues with these…)