title: How to write jquery functions inside define with requirejs?
body: <p>Help!!</p>
  
  <p>When i write jquery function inside define its throwing error like: </p>
  
  <pre><code>Uncaught SyntaxError: Unexpected token ( 
  
      define(['angular'],function($){
         $("#cmdLogin").click({
          validate();
         });  
      });
  </code></pre>
  
  <p>// CONFIGURATION LOOKS LIKE THIS:</p>
  
  <pre><code> requirejs.config({
      baseUrl: "assets/js",       
      paths: {
          jquery:'vendors/jquery/version/1.11.1/jquery.min',          
          bootstrap:[
                      'vendors/bootstrap/version/3.2/bootstrap.min',
                      'vendors/bootstrap/others/docs.min',
                      'vendors/bootstrap/others/ie10-viewport-bug-workaround',
                      'vendors/bootstrap/others/ie-emulation-modes-warning'
                    ]
      },
      shim: {
  
          'bootstrap': {
                          deps:['jquery','jqueryui']
                       }
      }       
  }); 
  </code></pre>
  
  <p>What am i doing wrong, Please help how to get rid of this.</p>