title: angularjs make long calendar
body: <p>I am developing a calendar in angularjs, this calendar is composed by days, rooms and rateplans.
  Example:</p>
  
  <pre><code>room/rateplan    | 2015-01-15 | 2015-01-16 | 2015-01-17 | 2015-01-18 | 
  ----------------------------------------------------------------------
  Simple Room      |     5      |      6     |      6     |      6     |
  ----------------------------------------------------------------------
     Room only     |    50€     |    55€     |    50€     |    50€     |
  ----------------------------------------------------------------------
     All inclusive |    65€     |    65€     |    65€     |    65€     |
  ----------------------------------------------------------------------
  Doble Room       |     5      |      3     |      0     |      6     |
  ----------------------------------------------------------------------
     Room only     |    65€     |    65€     |    50€     |    65€     |
  ----------------------------------------------------------------------
     All inclusive |    50€     |    50€     |    50€     |    50€     |
  ---------------------------------------------------------------------- 
  </code></pre>
  
  <p>Using the calendar, the user can update the price in rateplans and the number of free rooms in rooms. This is working perfectly.</p>
  
  <p>My problem is when a user select a lot of rooms and rateplans, angularjs takes a long time to render all calendar and the browser crashes.</p>
  
  <p>My last solution is make the calendar with php but then I can't use angularjs. </p>
  
  <p>Any solution?</p>
  
  <p>In this link you can see and example of my calendar and how is generated:
  <a href="http://jsfiddle.net/joucogi/rhhvnjsu" rel="nofollow">http://jsfiddle.net/joucogi/rhhvnjsu</a></p>
  
  <p>To generate the calendar, I have to, for each room, loop through all rateplans, and for each rateplan, loop through all days. There are a lot of loops and I think this is the cause of my problem when the user select a lot of rooms , rateplans and days.</p>
  
  <p>Any idea or solution?</p>