title: Google+ Signin callback function not found if inside a module
body: <p>I'm having some strange issue when I place the callback function inside a module, the library cannot seem to find the function, so if I use:</p>
  
  <pre><code>var Auth = (function () {
      var gPlusSignCallback = function () {
        console.log("Google plus signin call back done!");
    };
  
    return {
        gPlusSignCallback: gPlusSignCallback
    };
  }());
  </code></pre>
  
  <p>And in the html snipped of the Google+ Signing button I use:</p>
  
  <pre><code>data-callback="Auth.gPlusSignCallback"
  </code></pre>
  
  <p>I get the following error:</p>
  
  <blockquote>
    <p>Callback function named "Auth.gPlusSignCallback" not found</p>
  </blockquote>
  
  <p>If I put the gPlusSignCallback outside the module everything works well. I checked the documentation and it says that the value must be a function in the global namespace. So is it not working by design? I need to make global variable that makes reference to the function in the module?</p>