Hello Angular

We are about to take the first trembling steps into building our first component. The Angular CLI has already scaffolded our project and thereby carried out a lot of heavy lifting. All we need to do is to create new file and starting filling it with content. The million dollar question is what to type?

So let's venture into building our first component. There are three steps you need to take in creating a component. Those are:

  1. Import the component decorator construct.
  2. Decorate a class with a component decorator.
  3. Add a component to its module ( this might be in two different places).
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset