title: angularjs not get data from woocommerce rest api
body: <p>Sorry to say I am new in REST-API and authentication. </p>
  
  <p>I am writing an application on angularjs using yomen. I want to get data using woocommerce rest api from wordpress. I am working on my computer local node server</p>
  
  <p>I have write my controller</p>
  
  <pre><code>    /*get the function from phpjs*/
  
  function rawurlencode(str) {
          str = (str+'').toString();
          return encodeURIComponent(str).replace(/!/g, '%21').replace(/'/g, '%27').replace(/\(/g, '%28').
                                                                                         replace(/\)/g, '%29').replace(/\*/g, '%2A');
      }
         var oauth = OAuth({
                  consumer: {
                      public: 'ck_my_customer_key',
                      secret: 'cs_my_customer_secret'
                  },
                  signature_method: 'HMAC-SHA1'
               });
  
               var request_data = {
                   url: 'http://biswas-stall.com/wc-api/v1/products',
                    method: 'GET',
  
                };
  
  
                var data = oauth.authorize(request_data);
  
                var url =rawurlencode(request_data.url) + "&amp;" +
                            "oauth_consumer_key"+"%3D"+rawurlencode(data.oauth_consumer_key)+
                            "%26"+"oauth_nonce"+"%3D"+rawurlencode(data.oauth_nonce)+
                            "%26"+"oauth_signature_method"+"%3D"+rawurlencode(data.oauth_signature_method)+
                            "%26"+"oauth_timestamp"+"%3D"+rawurlencode(data.oauth_timestamp)+
                            "%26"+"oauth_signature"+"%3D"+rawurlencode(data.oauth_signature);
  
              $http.get(url).success(function(data) {
  
                  console.log(data);
              })
  </code></pre>
  
  <p>I am using <a href="https://github.com/ddo/oauth-1.0a" rel="nofollow">https://github.com/ddo/oauth-1.0a</a>  this library for my authentication. </p>
  
  <p>I am getting 404 Not Found massage. What is my wrong. Can any one help me?</p>