public/js/services/catchOutcome.js
Function createCatchOutcome
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function createCatchOutcome(angular, $rootScope, $q) {
Function catchOutcome
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
return function catchOutcome(promise) {
/**
* Add messages to the rootScope
* @param {string} message