Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Events
Videos
Audiobooks
Packt Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Angular 2 Components

You're reading from   Angular 2 Components Practical and easy-to-follow guide to Angular 2 Components

Arrow left icon
Product type Paperback
Published in Nov 2016
Publisher Packt
ISBN-13 9781785882340
Length 124 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Nir Kaufman Nir Kaufman
Author Profile Icon Nir Kaufman
Nir Kaufman
Thierry Templier Thierry Thierry Templier Thierry
Author Profile Icon Thierry Templier Thierry
Thierry Templier Thierry
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Angular 2 Component Architecture 2. Setting Up an Angular 2 Development Environment with angular-cli FREE CHAPTER 3. The TypeScript Primer 4. Building a Basic Component 5. Building Dynamic Components 6. Component Communication 7. Putting It All Together 8. Integrating Third-Party Components 9. Angular 2 Directives Index

Node and npm

Before we can start using angular-cli, we need to install Node.js on our machine. Node is a JavaScript runtime built on Chrome's V8 JavaScript engine. It enables JavaScript to run without a browser, which leads to the development of many development tools that we use today, such as task runners, compilers, linters, and module loaders. The modern web frontend development environment relies on these tools.

Installing Node

Node is cross-platform, so it can run on any popular operating system. The easiest way to install node is by downloading the official installer for your operating system. To do this, go to https://nodejs.org/en/ and find the official installer for Windows, Macintosh, or Linux. Currently, Node releases have two major paths—a Long Time Support (LTS) and a stable version. For this book, we will use the LTS version of Node. Make sure to download the Node 4.24.53 LTS version installer.

After you download and run the installer successfully, open your terminal...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Angular 2 Components
You have been reading a chapter from
Angular 2 Components
Published in: Nov 2016
Publisher: Packt
ISBN-13: 9781785882340
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Modal Close icon
Modal Close icon