title: merge divs with same value
body: <p>I am trying to merge the divs that have the same number in order to see the week and its number.</p>
  
  <p><a href="https://i.stack.imgur.com/jNe9S.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jNe9S.png" alt="enter image description here"></a></p>
  
  <p>This is how my html looks like</p>
  
  <pre><code>&lt;div class="wrapper clearfix"&gt;
          &lt;div class="left"&gt;
              &lt;label class="kw"&gt;WeekNo.&lt;/label&gt;
          &lt;/div&gt;
          &lt;div class="right week-number" *ngFor="let day of days"&gt;
              &lt;label class="number-label"&gt;&lt;span&gt;{{day.weekNumber}} &lt;/span&gt;&lt;/label&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>do I have to use <code>*ngIf</code> or just css? 
  I have read this <a href="https://stackoverflow.com/questions/11190488/how-to-merge-two-divs">How to merge two divs</a>, but I don't know where ti include the <code>if</code> statement</p>
  
  <p>this is the class I am using</p>
  
  <pre><code>export class Day {
      number: number;
      weekDay: number;
      name: string;
      weekNumber: number;
  
      constructor(number: number, weekDay: number, name: string, weekNumber: number
         ) {
              this.number = number;
              this.weekDay = weekDay;
              this.name = name;
              this.weekNumber = weekNumber;
          }
  }
  </code></pre>
  
  <p>and this is how it should look afet merging
  <a href="https://i.stack.imgur.com/OjRlF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OjRlF.png" alt="enter image description here"></a></p>