Linked e-resources
Details
Table of Contents
Intro
Table of Contents
About the Author
About the Technical Reviewer
Part I: Getting Started with Angular
Chapter 1: Getting Ready
What Do You Need to Know?
What Is the Structure of This Book?
Part 1: Getting Started with Angular
Part 2: Angular in Detail
Part 3: Advanced Angular Features
What Doesn't This Book Cover?
What Software Do I Need for Angular Development?
How Do I Set Up the Development Environment?
What If I Have Problems Following the Examples?
What If I Find an Error in the Book?
Are There Lots of Examples?
Where Can You Get the Example Code?
How Do I Contact the Author?
What If I Really Enjoyed This Book?
What If This Book Has Made Me Angry and I Want to Complain?
Summary
Chapter 2: Your First Angular App
Preparing the Development Environment
Installing Node.js
Installing the angular-cli Package
Installing an Editor
Installing a Browser
Creating and Preparing the Project
Creating the Project
Starting the Development Tools
Adding Angular Features to the Project
Creating a Data Model
Creating the To-Do List Class
Displaying Data to the User
Updating the Component
Understanding the Imports
Understanding the Decorator
Understanding the Class
Styling the HTML Elements
Displaying the List of To-Do Items
Creating a Two-Way Data Binding
Filtering To-Do Items
Adding To-Do Items
Displaying Completed To-Do Items
Summary
Chapter 3: Putting Angular in Context
Understanding Where Angular Excels
Understanding Round-Trip and Single-Page Applications
Comparing Angular to React and Vue.js
Understanding the MVC Pattern
Understanding Models
Understanding Controllers/Components
Understanding View Data
Understanding Views/Templates
Understanding RESTful Services
Common Design Pitfalls
Putting the Logic in the Wrong Place
Adopting the Data Store Data Format
Just Enough Knowledge to Cause Trouble
Summary
Chapter 4: An HTML and CSS Primer
Preparing the Example Project
Understanding HTML
Understanding Void Elements
Understanding Attributes
Applying Attributes Without Values
Quoting Literal Values in Attributes
Understanding Element Content
Understanding the Document Structure
Understanding Bootstrap
Applying Basic Bootstrap Classes
Using Contextual Classes
Using Margin and Padding
Changing Element Sizes
Using Bootstrap to Style Tables
Using Bootstrap to Create Forms
Using Bootstrap to Create Grids
Creating Responsive Grids
Creating a Simplified Grid Layout
Summary
Chapter 5: JavaScript and TypeScript: Part 1
Preparing the Example Project
Understanding the Basic Workflow
Using Statements
Defining and Using Functions
Defining Functions with Parameters
Using Default and Rest Parameters
Defining Functions That Return Results
Table of Contents
About the Author
About the Technical Reviewer
Part I: Getting Started with Angular
Chapter 1: Getting Ready
What Do You Need to Know?
What Is the Structure of This Book?
Part 1: Getting Started with Angular
Part 2: Angular in Detail
Part 3: Advanced Angular Features
What Doesn't This Book Cover?
What Software Do I Need for Angular Development?
How Do I Set Up the Development Environment?
What If I Have Problems Following the Examples?
What If I Find an Error in the Book?
Are There Lots of Examples?
Where Can You Get the Example Code?
How Do I Contact the Author?
What If I Really Enjoyed This Book?
What If This Book Has Made Me Angry and I Want to Complain?
Summary
Chapter 2: Your First Angular App
Preparing the Development Environment
Installing Node.js
Installing the angular-cli Package
Installing an Editor
Installing a Browser
Creating and Preparing the Project
Creating the Project
Starting the Development Tools
Adding Angular Features to the Project
Creating a Data Model
Creating the To-Do List Class
Displaying Data to the User
Updating the Component
Understanding the Imports
Understanding the Decorator
Understanding the Class
Styling the HTML Elements
Displaying the List of To-Do Items
Creating a Two-Way Data Binding
Filtering To-Do Items
Adding To-Do Items
Displaying Completed To-Do Items
Summary
Chapter 3: Putting Angular in Context
Understanding Where Angular Excels
Understanding Round-Trip and Single-Page Applications
Comparing Angular to React and Vue.js
Understanding the MVC Pattern
Understanding Models
Understanding Controllers/Components
Understanding View Data
Understanding Views/Templates
Understanding RESTful Services
Common Design Pitfalls
Putting the Logic in the Wrong Place
Adopting the Data Store Data Format
Just Enough Knowledge to Cause Trouble
Summary
Chapter 4: An HTML and CSS Primer
Preparing the Example Project
Understanding HTML
Understanding Void Elements
Understanding Attributes
Applying Attributes Without Values
Quoting Literal Values in Attributes
Understanding Element Content
Understanding the Document Structure
Understanding Bootstrap
Applying Basic Bootstrap Classes
Using Contextual Classes
Using Margin and Padding
Changing Element Sizes
Using Bootstrap to Style Tables
Using Bootstrap to Create Forms
Using Bootstrap to Create Grids
Creating Responsive Grids
Creating a Simplified Grid Layout
Summary
Chapter 5: JavaScript and TypeScript: Part 1
Preparing the Example Project
Understanding the Basic Workflow
Using Statements
Defining and Using Functions
Defining Functions with Parameters
Using Default and Rest Parameters
Defining Functions That Return Results