app/assets/javascripts/angular/controllers/main_controller.js
Function takePicture
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.takePicture = function () {
$rootScope.current_shoot = 0;
$rootScope.shoot_txt = 'Take pose!';
$rootScope.shoot_progress_txt = '';