Check out this code
1 | <div fxFlex="100%"> |
fxFlex – is standard html
[fxFlex] – calls upon angular (or typescript – whatever) to perform a calculation. The results of that calculation will be added to the fxFlex element. But if you use it, then you must provide a calculation [fxFlex]=”100%” will trigger an error.