each method reviewed. It should work with a callback, otherwise it's impossible to iterate, the promisse is resolved several times, but you can't access to the onsuccess
Debug mode
Debug mode: all console.log and alerts are conditioned to the module.debugMode parameter. This parameter can be set from the app config with .debugMode = true. It defaults to false
Debug mode: all console.log and alerts are conditioned to the module.debugMode parameter. This parameter can be set from the app config with .debugMode = true. It defaults to false
Merge pull request #27 from intelligenia/master

each method using callback