title: can't include materials and cpk folder
body: <p>I did check other solutions for similar questions but nothing seems to work </p>
  
  <p>I've been trying to use angular mat-expansion-panel all day ,but since I started trying I've been getting various problems 
  ending with it not being able to see the materials and cdk folders after I uninstalled angular and reinstalled it <strong>globally</strong></p>
  
  <p>I tried <strong>npm install -g @angular/material @angular/cdk</strong> with no difference </p>
  
  <p>now it says something about not being able to use the icon on my local device cause if a security issue , but the issue <strong>goes away if I remove the problematic imports</strong> </p>
  
  <p>these are all the imports in the app.module </p>
  
  <pre><code>import { BrowserModule } from '@angular/platform-browser';
  import { NgModule } from '@angular/core';
  import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
  
  import {A11yModule} from '@angular/cdk/a11y'; // all the following imports are problematic 
  import {DragDropModule} from '@angular/cdk/drag-drop';
  import {PortalModule} from '@angular/cdk/portal';
  import {ScrollingModule} from '@angular/cdk/scrolling';
  import {CdkStepperModule} from '@angular/cdk/stepper';
  import {CdkTableModule} from '@angular/cdk/table';
  import {CdkTreeModule} from '@angular/cdk/tree';
  import {MatAutocompleteModule} from '@angular/material/autocomplete';
  import {MatBadgeModule} from '@angular/material/badge';
  import {MatBottomSheetModule} from '@angular/material/bottom-sheet';
  import {MatButtonModule} from '@angular/material/button';
  import {MatButtonToggleModule} from '@angular/material/button-toggle';
  import {MatCardModule} from '@angular/material/card';
  import {MatCheckboxModule} from '@angular/material/checkbox';
  import {MatChipsModule} from '@angular/material/chips';
  import {MatStepperModule} from '@angular/material/stepper';
  import {MatDatepickerModule} from '@angular/material/datepicker';
  import {MatDialogModule} from '@angular/material/dialog';
  import {MatDividerModule} from '@angular/material/divider';
  import {MatExpansionModule} from '@angular/material/expansion';
  import {MatGridListModule} from '@angular/material/grid-list';
  import {MatIconModule} from '@angular/material/icon';
  import {MatInputModule} from '@angular/material/input';
  import {MatListModule} from '@angular/material/list';
  import {MatMenuModule} from '@angular/material/menu';
  import {MatNativeDateModule, MatRippleModule} from '@angular/material/core';
  import {MatPaginatorModule} from '@angular/material/paginator';
  import {MatProgressBarModule} from '@angular/material/progress-bar';
  import {MatProgressSpinnerModule} from '@angular/material/progress-spinner';
  import {MatRadioModule} from '@angular/material/radio';
  import {MatSelectModule} from '@angular/material/select';
  import {MatSidenavModule} from '@angular/material/sidenav';
  import {MatSliderModule} from '@angular/material/slider';
  import {MatSlideToggleModule} from '@angular/material/slide-toggle';
  import {MatSnackBarModule} from '@angular/material/snack-bar';
  import {MatSortModule} from '@angular/material/sort';
  import {MatTableModule} from '@angular/material/table';
  import {MatTabsModule} from '@angular/material/tabs';
  import {MatToolbarModule} from '@angular/material/toolbar';
  import {MatTooltipModule} from '@angular/material/tooltip';
  import {MatTreeModule} from '@angular/material/tree';
  </code></pre>
  
  <p>I tried adding the folders to the package.json as it shows here </p>
  
  <pre><code> "dependencies": {
      "@angular/animations": "~8.2.14",
      "@angular/common": "~8.2.14",
      "@angular/compiler": "~8.2.14",
      "@angular/core": "~8.2.14",
      "@angular/forms": "~8.2.14",
      "@angular/platform-browser": "~8.2.14",
      "@angular/platform-browser-dynamic": "~8.2.14",
      "@angular/router": "~8.2.14",
      "@angular/material": "~8.2.3",
      "@angular/cdk": "~8.2.3",
      "rxjs": "~6.4.0",
      "tslib": "^1.10.0",
      "zone.js": "~0.9.1"
    },````
  </code></pre>