title: Bower calls blocked by corporate proxy and then I get errors when updating .bowerrc
body: <p>I'm trying to install bower via npm to set up the angular seed project but am running into errors that are caused by my corporate proxy.</p>
  
  <pre><code>retry Request to https://bower.herokuapp.com/packages/angular failed with ECONNRESET, retrying in 1.2s
  bower                            retry Request to https://bower.herokuapp.com/packages/angular-route failed with ECONNRESET, retrying in 1.4s
  bower                            retry Request to https://bower.herokuapp.com/packages/angular-loader failed with ECONNRESET, retrying in 1.9s
  bower                            retry Request to https://bower.herokuapp.com/packages/angular-mocks failed with ECONNRESET, retrying in 1.3s
  bower                            retry Request to https://bower.herokuapp.com/packages/html5-boilerplate failed with ECONNRESET, retrying in 1.8s
  bower                            retry Request to https://bower.herokuapp.com/packages/angular failed with ECONNRESET, retrying in 2.7s
  </code></pre>
  
  <p>I have tried to follow the advice I saw in another <a href="https://stackoverflow.com/questions/21750804/bower-calls-blocked-by-corporate-proxy">stack overflow post</a> to edit my .bowerrc file to add details about the proxy. However, once I have done this I get this error:</p>
  
  <pre><code>/Users/t821714/Projects/customer/customer/node_modules/bower/node_modules/bower-config/lib/util/rc.js:56
          throw error;
                ^
  Error: Unable to parse /Users/t821714/Projects/customer/customer/.bowerrc: Unexpected token p
  </code></pre>
  
  <p>The updated .bowerrc looks like this:</p>
  
  <pre><code>{
    "directory": "app/bower_components",
    "registry": "http://bower.herokuapp.com",
    "proxy":"http://&lt;USERNAME&gt;:&lt;PASSWORD&gt;@&lt;PROXY_IP&gt;:&lt;PROXY_PORT&gt;/",
    "https-proxy":"http://&lt;USERNAME&gt;:&lt;PASSWORD&gt;@&lt;PROXY_IP&gt;:&lt;PROXY_PORT&gt;/",
  }
  </code></pre>
  
  <p>Can anyone suggest what is going wrong with my .bowerrc update? Or suggest a better way to fix the issue?</p>