I am trying to create a function with spin.js. The function loads the spinner, then if it is called again with it argument, then it stops the spinner. I can\'t get the varia
submitSpinner(true);
Because you have one overload in your scope so you must provide one.