Using camera inside an ionic app

I have the following problem:

I need to film something with ionic but i need the camera been displayed in real time inside the app... I've tryied to use the ng cordova capture plugin like they use in their web site:

 var options = { limit: 3, duration: 15 };

$cordovaCapture.captureVideo(options).then(function(videoData) {
  // Success! Video data is here
}, function(err) {
  // An error occurred. Show a message to the user
});

but unfortunatelly when it loads the app goes behind and calls the native camera app:/

is there any one off duing this with ionic?

The answer is no

Cordova plugins calls native application "behind" your app. This means that you will not be able to have in the same page : - HTML5 content - Call to native camera

If you need both at the same time, I suggest you to either : - develop a cordova plugin , this means coding for Android / iOS ... - develop a native app , this means coding for Android / iOS ..