title: can't use $httpProvider and locationProvider in angular.js
body: <p>I am new to angular.js. And I used the $httpProvider and $locationProvider</p>
  
  <pre><code>  &lt;script src="lib/angular/angular.min.js"&gt;&lt;/script&gt;
    &lt;script src="lib/angular/angular-route.min.js"&gt;&lt;/script&gt;
    &lt;script src="lib/angular/angular-cookies.min.js"&gt;&lt;/script&gt;
  angular.module('myApp', [
    'ngRoute','ngCookies'  
  ]).config(['$routeProvider' , '$locationProvider', '$httpProvider' ,function($routeProvider) {
    $httpProvider.defaults.timeout = 5000;  // error
    $locationProvider.html5Mode(true);  // error
  }])
  </code></pre>
  
  <p>when the app runs, it came out with a error : Uncaught Error: [$injector:modulerr] <a href="http://errors.angularjs.org/1.3.0-beta.2/" rel="nofollow">http://errors.angularjs.org/1.3.0-beta.2/</a>$injector/modulerr?p0=myApp&amp;p1=Ref/localhost/lib/angular/angular.min.js) </p>
  
  <p>My angular-min.js, angular-route.js, angular-cookie.js are all in 1.3.0 beta.2, don't know why it is happening? </p>