title: Error defining modules using browserify
body: <p>I am not sure I am doing it the right way. I have defined modules the following:</p>
  
  <pre><code>require('angular');
  require('angular-ui-router');
  var $ = require('jquery');
  require('bootstrap');
  </code></pre>
  
  <p>I have my package.json file like this:</p>
  
  <pre><code>{
    "name": "web",
    "version": "1.0.0",
    "description": "",
    "main": "main.js",
    "scripts": {
      "build": "browserify main.js -o bundle.js"
    },
    "author": "",
    "license": "ISC",
    "devDependencies": {
      "browserify": "^12.0.1"
    },
    "dependencies": {
      "angular": "^1.4.8",
      "angular-ui-router": "^0.2.15",
      "bootstrap": "^3.3.6",
      "bootstrap-social": "^4.11.0",
      "font-awesome": "^4.5.0",
      "jquery": "^2.1.4"
    }
  }
  </code></pre>
  
  <p>And my html page:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en" ng-app="myApp"&gt;
      &lt;head&gt;
          &lt;!-- Custom styles for this template --&gt;
          &lt;link href="css/style.css" rel="stylesheet"&gt;
      &lt;/head&gt;
  
      &lt;body&gt;
          &lt;div id="wrap"&gt;
              &lt;!--header--&gt;
              &lt;div ui-view="header"&gt;&lt;/div&gt;
              &lt;!--main content--&gt;
              &lt;div ui-view="content"&gt;&lt;/div&gt;
          &lt;/div&gt;
  
          &lt;!--push the footer down--&gt;
          &lt;div id="push"&gt;&lt;/div&gt;
  
          &lt;!--footer--&gt;
          &lt;div ui-view="footer"&gt;&lt;/div&gt;
  
          &lt;script src="bundle.js"&gt;&lt;/script&gt;
          &lt;script src="commonViews/commonView.js"&gt;&lt;/script&gt; //angular module defined
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>When I run the html page, I get an error in console saying "angular is not defined"</p>
  
  <p>What I am doing wrong? I have run the command <code>browserify maing.js -o bundle.js</code> which minified all the code into bundle.js file and yet still the same error. Apart from that I am not able to bundle bootstrap and font-awesome css files. Is it true that broswerify doesn't support css files?</p>