Skip to content

Code repository for Angular 2 Components, published by Packt

License

Notifications You must be signed in to change notification settings

PacktPublishing/Angular-2-Components

Repository files navigation

#Angular 2 Components This is the code repository for Angular 2 Components, published by Packt. It contains all the supporting project files necessary to work through the book from start to finish. ##Instructions and Navigations All of the code is organized into folders. Each folder starts with a number followed by the application name. For example, Chapter02. Inside the folder, you will see ng_components folder. Copy all the contents of this folder to your source folder. Please note that you will need to generate the node_modules folder using the npm command as given in the chapter content. Each chapter has multiple coding examples and therefore previous coding example have been commented out to stop interference with newer examples. Readers are requested to uncomment/comment out these examples accordingly for their execution. Also note that Chapter 3 does not have a code bundle since the coding examples used in this chapter are general syntaxes used explanation purposes only, further chapters have examples based on this chapter.

The code will look like the following:

class Product {
  private id: number;
  private color: string;
  constructor(id:number, color:string) {
    this.id = id;
    this.color = color;
  }
}

You need to know how to read and write JavaScript. Other technologies, such as C# or Java, may help you understand the syntax, but are not mandatory. Some experience with web development and related technologies such as HTML and CSS is required, so make sure you are familiar with that.

##Related Products

Download a free PDF

If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.

https://packt.link/free-ebook/9781785882340

About

Code repository for Angular 2 Components, published by Packt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages