title: AngularJs memory
body: <p>I have an <code>Angular</code> application that loads in only the needed <code>controller</code> / <code>factory</code> or <code>service</code> when it needs to. However i started wondering if all of these scripts eats up the memory the longer my client uses my application.</p>
  
  <p>Take for instance the following example:</p>
  
  <p>Client1 logs into my application here the following controllers are loaded:</p>
  
  <pre><code>LoginController
  UserController
  </code></pre>
  
  <p>Together with these some factories and services are loaded in to store the user for furture reference.</p>
  
  <p>As my Client1 goes through my system the application keeps on adding scripts but never dumping the ones it does not use.</p>
  
  <p>At the last page of my application all of my <code>controllers</code>,<code>factories</code> and services has been loaded and stored in the memory however only a few is actually being used and only a few will be used again.</p>
  
  <p>Should i be concerned about this once my application grows or is that just the normal procedure of <code>AngularJs</code>?</p>