New

ng g d directives/directiveName

NgStyle condicional

[ngStyle]="{ backgroundColor: x > 4 ? 'lightblue' : 'transparent' }"