The NgContent Directive
We'll learn how to load content in a child component from a parent component.
The app is fully navigable. Next, we’ll create some base components. Base components are generic components that we’ll most likely use more than once. It’s common to develop base components for things like buttons, alerts, forms, etc.
We’ll create a base component for an alert box. Bootstrap comes with a set of classes for an alert box. You can find more information here.
Base module
We’ll create a module that will house all our base components. This way, we can import them into any module that needs ...
Get hands-on with 1400+ tech skills courses.