title: Using request and cheerio with angular full stack
body: <p>I am a relatively new programmer, and almost completely new to node.</p>
  
  <p>I have created a new project using the yo and the angular fullstack: <a href="https://github.com/DaftMonk/generator-angular-fullstack" rel="nofollow">https://github.com/DaftMonk/generator-angular-fullstack</a></p>
  
  <p>and I am looking to create a scraper by using the Request module: <a href="https://github.com/request/request" rel="nofollow">https://github.com/request/request</a></p>
  
  <p>I am looking to do this all within a new page I created, called testPage. I want to use Request within testPage.controller.js. </p>
  
  <p>It is currently this: </p>
  
  <pre><code>'use strict';
  angular.module('siteTestApp')
    .controller('testPageCtrl', function () {
    });
  </code></pre>
  
  <p>I have added request to my package.json:</p>
  
  <pre><code>"request": "*",
  </code></pre>
  
  <p>so I know that it has installed through npm install.</p>
  
  <p>However, I don't know how to register the module and make it so that I can use request on my testPage.</p>
  
  <p>I have tried adding this within my testPage.controller, client app.js and server app.js</p>
  
  <pre><code>var request = require('request');
  </code></pre>
  
  <p>Once adding I've then tried this:</p>
  
  <pre><code>    angular.module('siteTestApp')
    .controller('testPageCtrl', function (request) {
    });
  </code></pre>
  
  <p>I've not been able to get it to work. Depending on my approach, I've been getting a number of different errors. 
  - require is not found
  - request is not found
  - requestProvider &lt;- request</p>
  
  <p>Any help as to how I can register the request module (and probably the cheerio module) and getting it working within my testPage would be greatly appreciated.</p>
  
  <p>Thanks all.</p>