These are chat archives for angular/material

17th
Nov 2017
tibetoine
@tibetoine
Nov 17 2017 17:13

Hi. I'm trying to install Angular Material via 'npm install --save @angular/material @angular/cdk' over a Freshly installed and created Angular 5 project. My Install Steps are

npm install -g @angular/cli
ng new my-app
cd my-app
npm install -g @angular/cli

And my issues are :

+-- UNMET PEER DEPENDENCY @angular/compiler@5.0.2
`-- UNMET PEER DEPENDENCY @angular/core@5.0.2

Do you have the same issues ? How can i solve this ?

Wambua Makenzi
@zessu
Nov 17 2017 17:14
Copy that stuff and install it
Ravi Rajput
@Ravslee
Nov 17 2017 17:14
Read documents carefully
Wambua Makenzi
@zessu
Nov 17 2017 17:14
install both
@tibetoine
@lisacopeland more detail ?
tibetoine
@tibetoine
Nov 17 2017 17:20
@zessu i'm Trying to install actually :) Since i'm quite a big noob on Angular and Node , i'm maybe wrong on my package.json
Does the dependencies order matter ?
I have to go, anyway thanks a lot for you help
Ravi Rajput
@Ravslee
Nov 17 2017 17:26
When you create your new app.. it download all the package
Node packages
So go into ur existing new app
Node modules
Check the angular
Folder
Check the version
Shane Gilbert
@shanegilbert
Nov 17 2017 17:54
Trying to use cdk/overlay to overlay a particular component. I can get the component to sit on top of it, but if I set useBackdrop = true then the whole page is disabled instead of just the component. I am using ConnectedPositionStrategy. How do I control what is disabled by the backdrop?
joduncan
@joduncan
Nov 17 2017 20:53
<mat-button disabled></button>...
can I do some variation of <mat-button disabled="myBoolAttribute"></button>?
(it doesn't seem to work.)
*ngIf="myBoolAttribute; else disabledButtonTemplate seems unnecessarily verbose/ugly
joduncan
@joduncan
Nov 17 2017 20:59
aaannnd now that's working. sigh