title: Remove specified item from array angular
body: <p>I know i can remove last item from array and first but I need to remove specified item based value
  Here is my array</p>
  <pre><code>  arrayItems: {
      volume: number;
      title: string;
    }[];
  
  
  this.arrayItems = [{
    volume: 11,
    title: 'Title'
  }];
  </code></pre>
  <p>Here is my example i have html</p>
  <pre><code>   &lt;div *ngFor=&quot;let arrayItem of arrayItems; let i=index&quot;&gt;
        &lt;label&gt;{{arrayItem.i}}&lt;/label&gt;
        &lt;div (click)=&quot;removeItem(i)&quot;&gt;remove item&lt;/div&gt;
     &lt;/div&gt;
  </code></pre>
  <p>And to add and remove item</p>
  <pre><code>  addItem() {
      const item = {
        volume: 2,
        title: 'Naslov 2'
      };
      this.arrayItems.push(item);
    }
  
  
    removeItem(index) {
      this.arrayItems.slice(index, 1);
    }
  </code></pre>
  <p>But to removeItem() does not work, any idea why this is wrong?</p>