bcabanes / ng-camera

AngularJS directive for capturing images form your computer's camera.
55 stars 33 forks source link

Help Wanted - Acces getSnapshot function #4

Open AlbertSanIza opened 9 years ago

AlbertSanIza commented 9 years ago

Is there any way I can trigger the get Snapshot function outside the provided template?

for example

$scope.MyOwnFunction = function() {

SomeHow.getSnapshot();

};

bcabanes commented 9 years ago

Hi @AlbertSanIza, It's currently not possible, the best way will be to have a service that can be shared. This is some work to do, may be in the next version.