add ng bootstrap with 4.1 bootstrap code example Example: ngbmodal angular 9 yarn install ng add @ng-bootstrap/ng-bootstrap