rtpHarry / angular-cookbook

Angular 10/9 Cookbook

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Angular 10/9 Cookbook

Throughout this cookbook examples you'll learn Angular--one of the most popular platforms for building front-end web applications

Using Angular, you can take advantage of a powerful TypeScript platform and tools to create applications for web, mobile and desktop. TypeScript is a superset of JavaScript with powerful OOP abstracts and a strongly typed system that compiles to JavaScript.

With Angular you have strong tools and design patterns to build either small or large web projects.

Angular is developed and maintained by Google. It has a large community which means you can find help on the web if you have any issues implementing your project requirements.

Our Angular learning path will offer the necessary tutorials, PDF books, for beginners, and examples to get started using this framework in your next project.

Introducing Angular 10

AngularJS was the most popular client-side framework among JavaScript developers for many years. Google introduced AngularJS in 2012. It's based on a variation of the very popular Model-View-Controller pattern which is called Model-View-*.

The AngularJS framework, was built on top of JavaScript with the aim to decouple the business logic of an application from the low level DOM manipulation and create dynamic websites. Developers could use it to either create full-fledged SPAs and rich web applications or simply control a portion of a web page which makes it suitable for different scenarios and developer requirements.

Data Binding

Among the powerful concepts that were introduced by AngularJS, is the concept of data binding which enables the view to get automatically updated whenever the data (the model layer) is changed and inversely.

Directives

The concept of directives was also introduced by AngularJS, which allows developers to create their own custom HTML tags.

Dependency Injection

The other introduced concept is Dependency Injection, which allows developers to inject what's called services (singletons that encapsulates a unique and re-usable functionality within an application) into other components which encourages re-usability of the code.

Why Learning Angular 10?

By learning Angular, you'll have more chances of finding a job as a front-end developer! So in this learning path, will teach you the framework through building several examples from scratch.

You'll learn about:

  • Anglular CLI.
  • Angular components and modules,
  • Angular template syntax and data binding: Interpolation and Event binding,
  • Angular pipes,
  • Angular directives,
  • Angular services,
  • Angular HttpClient,
  • Angular routing,
  • Angular Material,
  • Using Bootstrap with Angular,
  • Deployment.

How Long Will it Take to Learn Angular 10?

This depends of what you mean by learning Angular. If you want to be able to build and deploy a production-ready Angular application in a reasonable timeframe, this will probably take byou etween 6 and 12 months depending on your background and existing skills.

Is Angular Easy to Learn?

If you have a good knowledge of the three pillars of the web i.e JavaScript, CSS and HTML, Angular may be easy to learn. If you are a beginner front-end web developer that would be very difficult.

The Prerequisites to Learn Angular?

You'll need to have a good knowledge of HTML, CSS and JavaScript basics.

A basic Knowledge of TypeScript can be very helpful.

How Do you Start Learning Angular?

Angular is not like React, it's a complete platform which includes all what you need to build frontend web apps, so learning it will take you more time. Let's make the process easy for you by providing you with a roadmap.

If you are a beginner frontend web developer, you probably want to start by learning the basics of frontend web development i.e what we call the three pillars of the web, HTML, CSS and JavaScript. You don't need to master these technologies but you should be familiar with the basics and build simple web pages with HTML, style them with CSS and add interactivity with JavaScript.

You can get started with HTML, JavaScript and CSS from our guides:

Angular makes use of TypeScript instead of plain JavaScript. TypeScript is a super-set of JavaScript that adds object oriented concepts and strong types to the language but before you can run your code in a web browser, you will need to compile it to JavaScript. We'll see later that this is pre-configured for you in your Angular project.

These are some JavaScript guides in our website:

And this is our TypeScript tutorial(s):

Our Angular PDF Books

What's a Framework and Why Using it

A JavaScript or client-side framework is an abstraction that provides developers with a set of tools to easily and efficiently develop front-end web applications. Most frameworks dictate many aspects of your web projects like directory structure and configuration files and different tools that can be used for adding essential functionalities like testing.

A client-side framework is built on top of a client side programming language to help abstract the low level APIs of programming languages and client APIs and makes developers more productive. In fact there is only one client-side language which is JavaScript; the plethora of the web and the only language that web browsers understand but there also more sophisticated and modern programming languages that compile to JavaScript such as TypeScript and CoffeeScript. Which means they can also be the base of a client side framework.

Frameworks are all the rage nowadays and most serious JS developers use a framework for building front-end apps and interfaces instead of using plain JavaScript or jQuery.

Most JavaScript frameworks are said to be opinionated which means their creators enforce their opinions or their own philosophy of how web projects should be configured and organized. This also means, developers should learn the new abstractions provided by the framework and any new concepts besides learning the base programming language.

Frameworks provide abstractions for working with many aspects like for example DOM manipulation and Ajax/HTTP. if the technology deals with only one aspect, it's mostly called a library. For example popular libraries like React or Vue.js deal only with the view or the UI of an application by using a virtual DOM and diffing with the real DOM which provides better performance.

Nowadays powerful and modern JavaScript frameworks have emerged and taken the web by storm. Instead of websites with poorly structured JS or jQuery code we have now complete web apps with best practices and code structure with complex and rich UIs. These modern client-side web apps use heavy JavaScript which impacts performance and by result the user experience; and as such even if web browsers became more powerful we still need to follow best practices and battle tested tools and patterns which client-side frameworks try to help with.

All Angular 10/9/8/7/6 Articles

Content Projection in Angular 10/9: Pass Data from a Parent Component to a Child Template with Ng-content

Content projection is an Angular concept that helps developers build reusable components. It allows you to pass data from a parent component to a template of a child component

05 Aug 2020

Read article

Lazy Loaded Module Example in Angular 10/9 with loadChildren & Dynamic Imports

Lazy loading is the process of loading some features of your Angular 10 application only when you navigate to their routes for the first time. This can be useful for increasing your app performance and decreasing the initial size of the bundle transmitted to the user's browser

05 Aug 2020

Read article

Mock a REST API Back-End for Your Angular 10/9 App with JSON-Server and Faker.js

In this tutorial, we’ll learn, with a quick example, how to mock a REST API back-end for your Angular 10 application which you can consume using Angular HttpClient even before your real back-end is ready

05 Aug 2020

Read article

Angular 10/8 Material Data-Table Tutorial & Example

Angular 10 Material data tables provide a quick and efficient way to create tables of data with common features like pagination, filtering and ordering.

05 Aug 2020

Read article

Angular 10/9 Popup Modal Example with Angular Material Form and Modal Dialog Components

In this tutorial, you'll build an example login UI with a form and modal dialog styled with Angular Material 10.

05 Aug 2020

Read article

Angular 10/9 Material Date Picker, Input, CheckBox, Radio Button and Select

In this tutorial, you'll learn how to use Angular Material to style forms in your Angular 10/9 web app.

05 Aug 2020

Read article

Angular 10/8 Material Dialog with Example

This tutorial shows you how you can use Angular 7/8 Material to build Material UI dialogs for your web application

05 Aug 2020

Read article

Angular 10/9 Router: Resolve & Route Resolvers Example

The Angular 10 Router provides a resolve property that takes a route resolver and allows your application to fetch data before navigating to the route (i.e resolving route data)

05 Aug 2020

Read article

Angular 10/9 Router: Route Animations by Example

The Angular 10 Router supports adding animations when navigating between different routes in your application. In this tutorial, we'll learn how to use the Angular’s animations API to play animations when a route changes in your application

05 Aug 2020

Read article

Angular 10 Modules

Learn about Angular 10 modules

05 Aug 2020

Read article

Use JavaScript in Angular 10/9

In this tutorial, we'll learn how to use external and custom JavaScript libraries/code in Angular 10 projects which are based on TypeScript

05 Aug 2020

Read article

Electron with Angular 10/9 Tutorial

In this tutorial, we'll learn how to integrate Angular 10 with Electron to build cross-platform desktop apps with the most powerful web technologies

05 Aug 2020

Read article

Angular 10/9 Data (Event & Property) Binding by Example

In this tutorial, we'll continue building our calculator application using Angular 10. We'll be particularly learning about data binding both event and property binding

05 Aug 2020

Read article

HTML5 Data Attributes in Angular 10/9

In this quick tutorial, we'll see how you can add/set and access HTML5 data attributes in Angular 10/9

05 Aug 2020

Read article

Angular 10/9 Elements Tutorial by Example: Building Web Components

In this Angular 10 Elements tutorial by example we'll learn how to use Angular to build web components or custom elements.

04 Aug 2020

Read article

Angular 10 Universal Example Application with Express.js

Throughout this tutorial we are going to build an example, server side rendered, web application with Angular 10 and Express server

04 Aug 2020

Read article

Angular 10/9 SEO: Adding Title and Meta Tags to Your Universal App

In this tutorial, we'll see in a 3 easy steps how you can render your Angular 10 application on the server to make it SEO-friendly and boost its performance using the Angular Universal technology

04 Aug 2020

Read article

Angular 10/9 SEO: Rendering Your App on Server-side with Angular Universal

In this tutorial, we'll see in a 3 easy steps how you can render your Angular 10 application on the server to make it SEO-friendly and boost its performance using the Angular Universal technology

04 Aug 2020

Read article

Angular 10/9 Router Tutorial: Learn Routing & Navigation by Example

In this tutorial part, we’ll learn about Angular Router by example and will teach you everything you need to start using Angular routing to build Single Page Applications.

04 Aug 2020

Read article

Angular 10 HttpClient Headers and Typed/Full Responses: Pagination Example

In this tutorial, we'll learn how to get Angular 10 HttpClient headers and full responses

04 Aug 2020

Read article

3+ Ways to Add Bootstrap 4 to Angular 10/9 With Example & Tutorial

In this tutorial we will see how to use Bootstrap 4 to style websites built using the Angular 10 framework. We'll see how we can easy integrate both of them, using ng-bootstrap vs. ngx-bootstrap packages and using the Angular CLI 10 for generating a brand new project.

04 Aug 2020

Read article

Angular 10/9 Firestore Database CRUD Tutorial

In this tutorial, you'll be using Angular 10 with Firebase and Firestore to create am app that implements the common CRUD operations

04 Aug 2020

Read article

Deployment to Firebase Hosting with Angular CLI 10 in 5 Easy Steps

You have finally developed your Angular 10 application and you are ready to deploy it to a hosting provider and show it to the world! But, you think, you still have to do so much work to host the application. Fortunately for you, that's not true any more thanks to the latest 8.3+ version of Angular CLI which added a new command to the Angular developer arsenal

04 Aug 2020

Read article

Angular 10/9 Authentication with Firebase (Google, Email & Password): Login, Register, Email Verification and Password Recovery

In this tutorial, you will learn to add email and social authentication with login, register, email verification and password recovery to your Angular 10 app using Firebase and Google

04 Aug 2020

Read article

Angular 10/9 ngTemplate & ngTemplateOutlet Example: Dynamic and Reusable Templates

In this tutorial, we'll see how to use ng-template and ngTemplateOutlet for creating dynamic and reusable template partials in Angular 10

04 Aug 2020

Read article

The Angular 10/9 RouterLink, Navigate and NavigateByUrl

In this tutorial we're going to see how to navigate with the Angular Router using routerLink, Router.navigate() and Router.navigateByUrl()

04 Aug 2020

Read article

The Angular 10/9 Router-Outlets: Named and Multiple Outlets (Auxiliary Routes) Example

In this tutorial, we'll see advanced uses of the `` component such as how to create named, multiple outlets and auxiliary routing

04 Aug 2020

Read article

RxJS Observables and Subjects Tutorial with Angular 10/9

In this tutorial, we'll learn to use the RxJS 6 library with Angular 10/9. We'll learn about how to import the Observable class and the other operators. How to subscribe and unsubscribe from Observables, how to import and call operators and wrap them with the pipe() function. We'll also see how to use the async pipe to subscribe to Observables from templates

04 Aug 2020

Read article

Multiple File/Image Upload with Django 3, Angular 10 and FormData

Throughout this tutorial, we'll see how you can implement multiple file upload in Django 3. We'll be using Angular 10 to create a simple interface that allows the user to select multiple files and upload them to the server via POST requests and FormData

04 Aug 2020

Read article

Angular 10/9 ngForm, ngNoForm and Template Reference Variables

In this quick tutorial, you'll learn how to use NgForm in Angular 10/8 to work with forms. You'll also learn about template reference variables and how you can use them to reference DOM elements or Angular built-in directives (such as ngForm) in your templates

04 Aug 2020

Read article

Angular 10/9 Router CanActivate Guards and UrlTree Parsed Routes

We'll be learning how to use Router Guards and UrlTree data structures to protect the UI if the user is not logged in and redirect them to the login interface if they don't have access to a specific route.

04 Aug 2020

Read article

Angular 10/9 JWT Authentication Tutorial with Example

In this tutorial, you'll learn, by example, how you can implement JWT authentication in your Angular 10/9 application

04 Aug 2020

Read article

Style Angular 10/9 Components with CSS and ngStyle/ngClass Directives

In this tutorial, we'll learn about CSS and how to use it in Angular 9. We'll see by example how an Angular 9 application generated by Angular CLI is styled

14 Jul 2020

Read article

Angular 10 HttpClient

How to use HttpClient to make HTTP Requests in Angular 10

14 Jul 2020

Read article

Angular 10 FormBuilder/FormGroup/FormArray and FormControl By Example

In this tutorial, we'll learn to use Angular forms by creating a simple example using FormBuilder, FormGroup and FormControl APIs

10 Jul 2020

Read article

Angular 10/9 ElementRef/ViewChild/Renderer2 By Example

In this tutorial, we'll be seeing an example of ElementRef with Angular 9/8. We'll use the online Stackblitz development IDE, so you don't need to set up your development environment or create an Angular project for this quick example

10 Jul 2020

Read article

How to Post/Upload FormData (multipart/form-data) with Angular 10, TypeScript and HttpClient

In this quick tutorial, you'll learn how to work with FormData in Angular 10/9 and how to post it to a web server via a POST request and HttpClient

10 Jul 2020

Read article

Angular 10 Material Date Picker with Calendar and Date Range

Angular 10 has been recently released and introduced some new features as usual with any new major release. Among the new features is adding the date range feature to the date picker component of Angular Material.

07 Jul 2020

Read article

Integrating Google Analytics With Angular 10/9

In this tutorial, we'll learn too integrate Google Analytics with our Angular 10/9 application. As always, you'll need to be familiar with HTML, CSS and JavaScript/TypeScript and since we'll be using Google Analytics with Angular, you'll need to know the basic concepts of the framework.

06 Jul 2020

Read article

Angular 10 Rating Example With Ng-Bootstrap, Select, ngValue, and Forms

In this tutorial, we'll see by example how to create a rating component with Bootstrap 4, HTML Select and Angular 10 Forms. We'll be using the ngb-rating component from ng-bootstrap. We'll also see how to use the HTML select control with the ngFor directive inside a reactive form. How to bind select element to a TypeScript object or string literal using [ngValue] and value properties respectively, and how to assign a default value to select from an array of elements.

06 Jul 2020

Read article

Angular 10/9 File Upload Tutorial: Listen for HTTP Events & Progress Bar Example

In this tutorial, we'll learn how to upload files in Angular 8. For the backend we'll be using Nest.JS. We'll see how to use HttpClient to send POST request with multipart form data which is used for file uploading. We'll also see how to use reactive forms and progress bar.

09 Jun 2020

Read article

Angular Material 10/9 Tutorial: Build Navigation UI with Toolbar and Side Navigation Menu

Angular Material 8 Tutorial: Build Navigation UI with Toolbar and Side Navigation Menu

09 Jun 2020

Read article

Upload Images In TypeScript/Node & Angular 9/Ionic 5: Working with Imports, Decorators, Async/Await and FormData

In this tutorial part, we'll learn to customize/upload user profile photos. We assume no previous knowledge of TypeScript which is the programming language used in both Ionic/Angular and Node/Nest.js used to build both the front-end and back-end of our chat application. We'll be also explaining basic concepts such as imports, decorators, Async/Await and HTML5 FormData

06 Jun 2020

Read article

Angular 9/Ionic 5 Chat App: Unsubscribe from RxJS Subjects, OnDestroy/OnInit and ChangeDetectorRef

In this tutorial part, we'll implement some changes in our Angular 9/Ionic 5 example app that will allow us to unsubscribe from the RxJS subjects and solve issues related to Angular Change Detection in development and duplicate messages displayed in the chat UI

06 Jun 2020

Read article

Adding UI Guards, Auto-Scrolling, Auth State, Typing Indicators and File Attachments with FileReader to your Angular 9/Ionic 5 Chat App

In this tutorial, we'll start by securing the UI of our application using Angular 9 guards then we'll learn how to add support for typing indicators and file attachments using the HTML5 FileReader API in the Ionic 5 and Angular 9 chat application we've built in these previous tutorials. We'll also see how to add automatic scrolling of the chat UI with Angular template variables and the Content.scrollToBottom() method and programmatically trigger click events on the file input element

06 Jun 2020

Read article

Private Chat Rooms in Angular 9/Ionic 5: Working with TypeScript Strings, Arrays, Promises, and RxJS Behavior/Replay Subjects

Throughout this tutorial, we'll be learning how to add one-to-one private chat rooms to a chat application built using Angular 9, Ionic 5 , Node and Nest.js. We'll be working with TypeScript Strings, Arrays, Promises, and RxJS Behavior/Replay Subjects. We'll see how to convert a TypeScript promise to an RxJS Observable/Subject, how to use the async/await syntax with the Angular ngOnInit() method and Observable subscribe method, use the Angular Router, ActivatedRoute, and Ionic Storage services and also how to unsubscribe from the RxJS Observables with Angular OnDestroy and ngOnDestroy()

06 Jun 2020

Read article

Building a Chat App with TypeScript/Node.js, Ionic 5/Angular 9 & PubNub/Chatkit

In this first part of a tutorial series to learn how to build a fullstack mobile application with cutting edge technologies like Ionic 5, Node.js (Nest.js), TypeScript, Angular 9. you will be creating the backend project of the application with Nest.js CLI and you'll learn about the available hosted and self-hosted services for implementing chat features in your mobile and web apps

06 Jun 2020

Read article

Chat Read Cursors with Angular 9/Ionic 5 Chat App: Working with TypeScript Variables/Methods & Textarea Keydown/Focusin Events

In this tutorial we'll implement chat read cursors in our Angular 9 and Ionic 5 Chat App using TypeScript basics like variables and methods, HTML textarea keydown/focusin events and data attributes

06 Jun 2020

Read article

Add JWT REST API Authentication to Your Node.js/TypeScript Backend with TypeORM and SQLite3 Database

In this tutorial, we'll learn how to create a REST API server for JWT authentication using Node.js (Nest.js) and TypeScript for our Angular 9/Ionic 5 chat application

05 Jun 2020

Read article

Building Chat App Frontend UI with JWT Auth Using Ionic 5/Angular 9

In this tutorial, we are going to create the frontend mobile application using Ionic 5 and Angular 9

05 Jun 2020

Read article

Build an Example Angular 10 Form: ngForm/ngModel vs FormGroup/FormBuilder

In this tutorial, we'll learn how to build and work with forms in Angular 10 by creating a simple contact form example

04 May 2020

Read article

Adding Routing to your Angular 10 App by Example

Adding Angular Routing to your Angular 10 App

04 May 2020

Read article

JavaScript Reactive/Asynchronous Code with RxJS 6, TypeScript & Angular 10: Callbacks, Promises and Observables

In this tutorial, we'll learn to use the RxJS 6 library with Angular 10.9. We'll learn about how to import the Observable class and the other operators. How to subscribe and unsubscribe from Observables, how to import and call operators and wrap them with the pipe() function. We'll also see how to use the async pipe to subscribe to Observables from templates

04 May 2020

Read article

What is an Angular 10 Workspace?

What is an Angular 10 Workspace?

04 May 2020

Read article

Install Angular 10 CLI with NPM and Create a New Example App with Routing

Angular 10 beta is released so the final release is due soon. Let's see how to install the latest beta version and create a new project

26 Apr 2020

Read article

Angular 10/9 Update Guide with Examples

In this guide, we'll learn how to upgrade our project to the latest Angular 10 version and update the dependencies.

25 Apr 2020

Read article

Styling An Angular 10 Example App with Bootstrap 4 Navbar, Jumbotron, Tables, Forms and Cards

20 Apr 2020

Read article

Integrate Bootstrap 4/jQuery with Angular 10 and Styling the UI With Navbar and Table CSS Classes

In this Angular 10 tutorial we'll learn how to use Bootstrap 4 to build professional UIs

20 Apr 2020

Read article

Angular 9/10 Tutorial By Example: REST CRUD APIs & HTTP GET Requests with HttpClient

In this Angular 9/10 tutorial, we'll learn to build an Angular 9 example application going through all the required steps from creating/simulating a REST API, scaffolding a new project, setting up the essential APIs, and finally building and deploying your final application to the cloud

17 Apr 2020

Read article

Angular 10/9 Services

Learn about services in Angular 10 and previous versions

15 Apr 2020

Read article

Angular 10/9 Tutorial and Example: Build your First Angular App

In this tutorial, you will learn to build your first Angular 10/9 application from scratch

14 Apr 2020

Read article

Angular 9/8 ngIf Tutorial & Example

Throughout this quick tutorial, you'll be learning about how you can use ngIf in your Angular 6 applications

12 Apr 2020

Read article

Build an HTML Table Example Dynamically with Angular 10/9 and ngFor

In this quick example, let's see how to build an HTML table dynamically with Angular 10 and the ngFor directive

12 Apr 2020

Read article

Angular 10 New Features

Angular 10, the next version of one of the most popular front-end frameworks is in beta version at this time. This means we are moving toward the final release of this new version

12 Apr 2020

Read article

Create New Angular 9 Workspace and Application: Using Build and Serve

In this article, we'll quickly see how to use the Angular CLI to initialize a new workspace and create an application

07 Apr 2020

Read article

Angular 10 Release Date: Angular 10 Will Focus on Ivy Artifacts and Libraries Support

After the release of Angular 9, the development team says that the next release, Angular 10, will be focusing on Ivy artifacts

07 Apr 2020

Read article

HTML5 Download Attribute with TypeScript and Angular 9

In this article, we'll learn by example what's the HTML download attribute and we'll see how to use it with TypeScript and Angular 9/8 by example

26 Mar 2020

Read article

Angular 9.1+ Local Direction Query API: getLocaleDirection Example

With Angular 9.1, you can query for the current local direction at runtime using the getLocaleDirection method

26 Mar 2020

Read article

Angular 9.1 displayBlock CLI Component Generator Option by Example

In this article, we'll learn about the new displayBlock option for the Angular 9.1 CLI component generator

26 Mar 2020

Read article

Angular 9.1 New Features and Ivy: Angular 10 is Coming

Angular 9 new features: better performance and smaller bundle size thanks to Ivy!

26 Mar 2020

Read article

Angular 9 Basics Tutorial by Example

In this tutorial, you will learn to build your first Angular 8 application from scratch

12 Mar 2020

Read article

Angular 9/8 ngFor Directive: Render Arrays with ngFor by Example

In this tutorial, you'll learn about the ngFor directive by example in Angular 9

10 Mar 2020

Read article

Responsive Image Breakpoints Example with CDK's BreakpointObserver in Angular 9/8

We'll learn how to implement responsive images in Angular 9/8

08 Mar 2020

Read article

Angular 9/8 DOM Queries: ViewChild and ViewChildren Example

The @ViewChild and @ViewChildren decorators in Angular provide a way to access and manipulate DOM elements, directives and components. In this tutorial, we'll see an Angular 8 example of how to use to use the two decorators

03 Mar 2020

Read article

Installing Node.js v10/12 & NPM on Ubuntu 20.04/19.04

This post shows you how you can install Node.js on Ubuntu 19.01 and Ubuntu 20.04 for Angular 9 development

02 Mar 2020

Read article

Angular 9 Examples: 2 Ways To Display A Component (Selector & Router)

In this quick example, we'll see two ways of displaying a component in Angular 9 - using selectors or the router

02 Mar 2020

Read article

Angular 9/8 Components by Example

This tutorial explains Angular 9/8 components, what are they? And how to create them?

02 Mar 2020

Read article

The Angular 9/8 Router: Route Parameters with Snapshot and ParamMap by Example

In this tutorial we're going to see how to handle route parameters with the Angular 9/8 Router using different methods: Snapshot and ParamMap Observable

02 Mar 2020

Read article

Angular 9/8 Tutorial: Http POST to Node/Express.js Example

In this tutorial, we'll learn to use the template-driven approach in Angular 9/8 to work with HTML forms. We'll learn about the NgForm, ngModel and ngSubmit and how to create an authentication system with Node and Express.js

02 Mar 2020

Read article

Angular 9/8 Nested Routing and Child Routes by Example

In this tutorial, you'll learn to add Angular 9 routing to our module using a routing module, a nested router-outlet and child routes

02 Mar 2020

Read article

Angular 9/8 Feature and Root Modules by Example

In this tutorial we will learn about Angular 9 modules by example

02 Mar 2020

Read article

Angular 9/8 with PHP: Consuming a RESTful CRUD API with HttpClient and Forms

In this tutorial, you'll learn to create an example Angular 7 application with a PHP REST API on top of a MySQL database

20 Feb 2020

Read article

Angular 9/8 with PHP and MySQL Database: REST CRUD Example & Tutorial

In this tutorial, you'll learn to create an example Angular 9/8 application with a PHP REST API on top of a MySQL database

20 Feb 2020

Read article

Unit Testing Angular 9/8 Apps Tutorial with Jasmine & Karma by Example

In this tutorial, we'll quickly learn how to unit test an Angular 9/8 application with Jasmine and Karma

19 Feb 2020

Read article

Jasmine Unit Testing Angular 9 Tutorial

In this tutorial, we'll present you with a quick and complete guide to testing with Jasmine in Angular 9

19 Feb 2020

Read article

Angular 9 Web Components: Custom Elements & Shadow DOM

Throughout this tutorial, we’ll teach you to create a native web component using the latest Angular 9 version. Part of standard web components are custom elements and shadow DOM which provide a way to extend HTML by creating your custom HTML tags and encapsulating the DOM tree and CSS styles behind other elements

18 Feb 2020

Read article

Angular 9 Renderer2 with Directives Tutorial by Example

In this tutorial, we'll be learning about Renderer2 in Angular 9/8 and directives which allow you to manipulate DOM. Renderer2 is a service which provides methods like createElement, createText, appendChild and addClass that help you query and manipulate the DOM elements in your Angular 9 application

18 Feb 2020

Read article

Build Progressive Web Apps (PWA) with Angular 9/8 Tutorial and Example

Throughout this tutorial, we'll be learning to build an Angular 9 PWA (Progressive Web Application)

18 Feb 2020

Read article

Angular 9 Internationalization/Localization with ngx-translate Tutorial and Example

In this tutorial, we'll see by example how to make your Angular 9 app available in multiple languages (English and French) using ngx-translate, the internationalization (i18n) and localization library for Angular

18 Feb 2020

Read article

Create Angular 9 Calendar with ngx-bootstrap datepicker Example and Tutorial

In this tutorial, we'll see how to create an Angular 9 calendar UI with the datepicker component available from ngx-bootstrap

18 Feb 2020

Read article

Multiple File Upload with Angular 9 FormData and PHP by Example

14 Feb 2020

Read article

Angular 9/8 Reactive Forms with Validation Tutorial by Example

In this tutorial, we'll learn to use the template-driven approach in Angular 9/8 to work with forms. We'll learn about the NgForm, ngModel and ngSubmit and how to create an authentication system with Node and Express.js

14 Feb 2020

Read article

Angular 9/8 Template Forms Tutorial: Example Authentication Form (ngModel/ngForm/ngSubmit)

In this tutorial, we'll learn to use the template-driven approach in Angular 7/8 to work with forms. We'll learn about the NgForm, ngModel and ngSubmit and how to create an authentication system with Node and Express.js

14 Feb 2020

Read article

Angular 9/8 JAMStack By Example

let's learn to build a JAMstack application with Angular 9, HTML and a third-party API. The app is simply a news app that can be served from a CDN like Netlify. It's made of only HTML, CSS and JavaScript

10 Feb 2020

Read article

Angular HttpClient v9/8 — Building a Service for Sending API Calls and Fetching Data

In this tutorial, you'll be learning, by example, how to use Angular 7/8 and HttpClient to send HTTP requests to remote servers for fetching, creating and updating data.

07 Feb 2020

Read article

Upgrade Angular 8/7 to Angular 9 With Ng Update & Angular CLI v9

In this short guide we'll see how to update Angular core framework and Angular CLI 8/7 to the latest Angular 9 version and upgrading existing projects to use v9

07 Feb 2020

Read article

Build an Angular 9/8 CRUD Example & Tutorial

In this tutorial, we'll learn to build an Angular CRUD example from scratch using the latest version which is as the time of this writing Angular 9

05 Feb 2020

Read article

Styling An Angular 9/8/7 Example App with Bootstrap 4 Navbar, Jumbotron, Tables, Forms and Cards

In this tutorial, we'll learn how to integrate and use bootstrap 4 with Angular 9.

04 Feb 2020

Read article

Angular 9/8 CLI Commands: Install Angular CLI On Windows 10, Linux and macOS

In this tutorial you'll be learning how to use Angular CLI 9 (the latest version as of this writing) on Windows, Linux and macOS to create Angular applications and different constructs like modules, services, components and pipes etc.

24 Jan 2020

Read article

Angular 9/8/7 Realtime Chat Example with Node.js, Socket.io and WebSocket

In this tutorial, we'll learn how to build a real-time app with Angular 9/8, Socket.IO, WebSocket, and Node.js

15 Jan 2020

Read article

Angular 9/8/7 Routing Tutorial: Angular Router by Example with Parameters and Guards

In this tutorial, you will learn to implement routing in Angular 9/8/7

15 Jan 2020

Read article

RxJS Observable Pipe, Subscribe, Map and Filter Examples with Angular 9/8

In this tutorial we'll learn by example to use the RxJS pipe() function, the map() and filter() operators in Angular 9. And how to use the subscribe() method to subscribe to Observables

05 Jan 2020

Read article

Angular 9/8 Ajax Get and Post Requests Example

In this post, we'll create a simple example with Angular 9/8 and HttpClient that sends Get and Post requests to fetch and post data from/to a backend server

04 Jan 2020

Read article

Angular 8/7 Tutorial By Example: (REST API, HttpClient GET, Components, Services & ngFor)

In this tutorial, you'll learn by example how to send GET requests to REST API servers in your Angular 8 application using HttpClient. We’ll also learn how to use the basic concepts of Angular like components and services and how to use the ngFor directive to display collections of data.

03 Jan 2020

Read article

Angular 9/8 (Reactive) Forms: How to Use FormBuilder, FormGroup and FormControl APIs by Example

In this tutorial, we'll learn to use Angular forms by creating a simple example using the reactive form approach. We'll see how to use Angular `FormBuilder, FormGroup and FormControl APIs to easily build a form

30 Dec 2019

Read article

Angular 9/8 How-To: What is the Router-Outlet and how to use it?

The router-outlet is a directive that's available from the @angular/router package and is used by the router to mark where in a template, a matched component should be inserted.

27 Dec 2019

Read article

Angular 9/8 How-To: Build a Material File Upload UI with MatProgressBar, MatButton , MatIcon and MatCard

In this quick how-to tutorial, we'll see how to build a file/image uploading UI with Angular 9 Material components such as MatProgressBar, MatIcon, MatCard, and MatButton

27 Dec 2019

Read article

Angular 9/8 Http - How to Use HttpClient Module with Examples

In this how-to tutorial, we'll learn what is the HttpClient API available from HttpClientModule and how to use it in Angular 9 by example with request timeout, responsetype, query parameters, http headers, custom http headers, interceptors, typed and full responses, and error handling.

27 Dec 2019

Read article

Angular 9/8 How-To: Create Angular Components?

In this quick how-to post, we'll learn how to use the ng generate component command of Angular CLI, or its ng g c shortcut command, for creating Angular components in your project.

24 Dec 2019

Read article

Angular 9/8 How-To: Pass URL Query Parameters with HttpClient, HttpParams and fromString

In this how-to article, we'll learn how to use fromString and HttpParams to pass query parameters to URLs or REST API endpoints

22 Dec 2019

Read article

Angular 9/8/7 Tutorial: Build an Example App with Angular CLI, Angular Router, HttpClient & Angular Material

Throughout this Angular 9 tutorial, we’ll learn to build an example web application using APIs like HttpClient, Angular Router, and Material Design. We'll learn to generate components and services using Angular CLI and depoly your final app to the cloud (Firebase).

21 Dec 2019

Read article

Angular 9/8/7 How-To: Handle HttpClient Errors with RxJS' catchError() and throwError()

In this quick how-to article, we'll see by example how to handle Http errors in Angular 9 apps

21 Dec 2019

Read article

Angular 9/8 How-To: Use Angular CLI to Initialize & Serve New Angular Projects

In this quick how-to tutorial, we'll see how to use Angular CLI v9, as of this writing, to generate a project and serve it locally using a live-reload development server.

21 Dec 2019

Read article

Angular 9/8 Services & Dependency Injection via providedIn, root & any Tutorial

In this tutorial, we'll be learning about Angular services using the latest Angular 9 version. We'll also learn about dependency injection and its mechanisms such as the @Injectable decorator and the providedIn property which can take the root and any values or a specific module that will be explaining next.

12 Dec 2019

Read article

Angular 9/8 How-To: Path Redirection and Handling 404 Paths Using Router Wildcard Routes

In this quick example, we'll see how to redirect users to a new URL path or component using the Angular router and how to deal with not found pages and redirect to a 404 component if no match is found using wildcard paths

12 Dec 2019

Read article

Angular 9/8 MEAN Stack Authentication Tutorial & Example: Node and MongoDB Backend

In this step by step tutorial, we'll be building an example app with JWT authentication and REST APIs based on the MEAN stack. We'll be using Angular 9 for the frontend and Node.js along with Express and MongoDB in the backend

11 Dec 2019

Read article

Angular 9 CRUD Tutorial: Consume a Python/Django CRUD REST API

Throughout this tutorial for beginners, we'll learn to build a full-stack example web application with Angular 9, the latest version of the most popular framework/platform for building mobile and desktop client side applications created and used internally by Google.

06 Dec 2019

Read article

Angular 7/8 By Example with HttpClient, Async Pipe and Observables

How to use HttpClient to make HTTP GET requests in Angular 7/8

04 Dec 2019

Read article

Angular 9 Examples: Conditional Rendering With *ngIf & Else

In this example, we'll see how to conditionally render a component or HTML element in Angular 9 using the *ngIf directive

22 Nov 2019

Read article

How to Check Installed Angular CLI Version & Update to Latest Angular 9 Version Globally

In this quick tutorial, we'll see how to check the currently-installed Angular CLI version and update it to the latest Angular 9

18 Nov 2019

Read article

Angular 9/8 Tutorial & Example — Upload files with FormData, HttpClient, RxJS, and Material ProgressBar

In this tutorial, we’ll see by example how to upload multiple image files using FormData, HttpClient (for posting multipart/form-data), Angular 9/8 and TypeScript

14 Nov 2019

Read article

Import & Read Local JSON Files in Angular 7/8 and TypeScript 2.9+

In this tutorial, we'll see by example how to import and read local JSON files in Angular 8 applications and TypeScript 2.9+

20 Oct 2019

Read article

RxJS of() Example: Mocking Data with an Angular 7/8 Service and Observables

In this tutorial, we'll learn by example how to use the of() operator of RxJS with Angular 8

20 Oct 2019

Read article

Fixing CORS Issues in Your Front-End Angular 7/8 App with Angular CLI Proxy Configuration

In this tutorial we'll learn in a few steps how to fix CORS issues in our front-end Angular 8 app using the Angular CLI proxy configuration

20 Oct 2019

Read article

3 Methods for Reading Local JSON Files in Angular 7/8

In this tutorial, we'll present you 3 ways to read local JSON files in your Angular 8 application with examples

20 Oct 2019

Read article

Angular 7/8 HttpClient Interceptors: Mocking HTTP Requests Example

In this tutorial, we'll learn by example to use HttpClient Interceptors to mock a back-end for your Angular 8 app. This way you can develop your Angular 8 app without a back-end

20 Oct 2019

Read article

Backendless Angular 9/8 Tutorial: Mocking HttpClient Using an In-Memory CRUD API Example

In this tutorial, you'll see, by example, how to use the in-memory web api module with Angular 8 to create a fake REST API back-end with CRUD operations. This is very useful for front-end developers that don't have a back-end yet or for testing your front-end app.

17 Oct 2019

Read article

Modern and Legacy JavaScript: Differential Loading with Angular 8 Tutorial

In this JavaScript tutorial designed for Angular developers, we'll learn how Angular 8 makes differential loading to send separate modern and legacy JavaScript bundles to web browsers based on their capabilities thanks to the module and nomodule attributes and browserslist. Next, we'll introduce the various new features of modern JavaScript to Angular devs then finally we'll see how to include custom JavaScript code in our Angular apps

19 Sep 2019

Read article

CSS Tutorial with Angular 9/8: ngClass, ngStyle & ViewEncapsulation

In this tutorial, we'll learn about CSS and how to use it in Angular apps. We'll see by example how an Angular 8 application generated by Angular CLI is styled

15 Sep 2019

Read article

HTML Tutorial: Angular 7/8 Template Syntax - Interpolation, ngFor & ngIf Directives

In this tutorial, we’ll teach you HTML which is used as the template language for Angular. We’ll build a simple HTML app before tackling any Angular concepts since it’s a prerequisite in any web development and one of the three pillars of the web along with JavaScript and CSS.

14 Sep 2019

Read article

GraphQL Tutorial with Angular 7/8 and Apollo Example

In this tutorial, we'll teach you about the fundamental GraphQL concepts starting with an introduction and then explain the building blocks for a GraphQL API. Next, we'll learn to consume a GraphQL API with Angular 7/8 and Apollo

14 Sep 2019

Read article

Responsive Images Tutorial for Angular 7/8 Devs

Responsive images are a necessity in this interconnected world. A website needs to work well on multiple devices, as users may access your site through their phone, tablet or laptop. This tutorial will explain what are responsive images and provide some tips to help you apply them. We'll also see how to implement responsive images in Angular 7/8

13 Sep 2019

Read article

Angular 7/8 & Bootstrap 4 UIs: ng-bootstrap and ngx-bootstrap [Part 1]

In this tutorial series, you'll learn to use Angular 7/8 & Bootstrap 4 to build professional grade UIs.

11 Sep 2019

Read article

Angular 7/8 Tutorial Course — Build a Portfolio Web Application with Angular

Angular 8 is out and we'll use it to continue with our front-end tutorial series designed for Python developers. This tutorial is part of an ongoing series for teaching Angular to Python developers. Saying that; this tutorial can be also followed by front-end developers that don't use Python as their back-end language.

10 Sep 2019

Read article

JavaScript Promises Tutorial with Angular 7/8 Example

In this tutorial designed for Angular developers, you'll learn about JavaScript Promises introduced in ES6 and you'll see how you can use them with an Angular 7/8 example.

05 Sep 2019

Read article

JavaScript Async/Await with Angular 7/8 Observable and HTTP Example

In this tutorial, we'll learn about JavaScript/ES7 async and await keywords and we'll see how you can use them to write better asynchronous code in your Angular 7/8 apps with an example using HttpClient for sending HTTP requests and RxJS Observables.

05 Sep 2019

Read article

CSS Grid Layout Tutorial: Holy Grail Angular 10 UI

This CSS Grid layout tutorial is designed for Angular 7/8 developers that want to learn how to build responsive layouts with modern CSS. We'll first start with a general introduction to learn about the basic concepts and then we'll see how to use it within an Angular 7/8 app to create the famous holy grail layout.

04 Sep 2019

Read article

Webpack 4 Tutorial with Angular 10

In this tutorial, we'll be introducing Webpack to Angular developers. We'll also see a simple example of using a custom webpack configuration in Angular 10

01 Sep 2019

Read article

Angular Semantic Versions

Learn about Angular versions

23 Aug 2019

Read article

Angular 8 Book: Build your first web apps with Angular 8

Practical Angular: Build your first web apps with Angular 8

11 Aug 2019

Read article

TypeScript Tutorial for Angular 7/8 Devs

In this tutorial, we'll learn about TypeScript. The language of Angular

29 Jul 2019

Read article

The OOP Concepts with TypeScript: Inheritance, Abstraction, Polymorphism and Encapsulation

In this article, we'll learn about the Object Oriented Programming or OOP concepts in TypeScript such as inheritance, abstraction, polymorphism and encapsulation.

29 Jul 2019

Read article

CSS Centering with Angular 7/8 Example

In this tutorial, we'll learn how to center elements in CSS and Angular 8

23 Jul 2019

Read article

FormData Explained + Ajax, Angular 9, Ionic 5, and React Examples

16 Jul 2019

Read article

PHP Tutorial with Angular 8

In this tutorial, we'll learn web development with php and we'll compare php with various solutions such as Python & Django and Ruby On Rails

08 Jun 2019

Read article

Angular 10 Material Design Tutorial & Example

In this tutorial, we'll be learning how to use Angular 8 Material Design to build a beautiful and professional grade UI interface for our Angular front-end application

06 Jun 2019

Read article

Angular 8 Tutorial: Build your First Angular App

In this tutorial, you will learn to build your first Angular 8 application from scratch.

04 Jun 2019

Read article

Django REST Framework Image File Upload Tutorial & Example [FormData & Angular 7 UI]

Throughout this tutorial, we'll see how you can implement file upload in Django and Django REST Framework with a step by step example. Our application will expose an /upload endpoint that accepts POST requests that contain the file posted with a multipart/form-data content type using FormData. For the frontend, we'll be using Angular 7 to create a simple interface that allows the user to select a file and upload it to the server via a POST request and FormData.

08 Mar 2019

Read article

PHP Image/File Upload Tutorial and Example [FormData and Angular 7 Front-End]

In this tutorial, you'll learn how you can upload files in your PHP web application. We'll not use any framework but plain PHP. Next, we'll see how we can use Angular 7 to create a frontend that provides a form for uploading an image file to the backend using FormData and HttpClient. We'll be also looking at how to create a reactive form with Angular.

06 Mar 2019

Read article

Angular 7|6 Tutorial Course: CLI, Components, Routing & Bootstrap 4

In this course, you'll learn to develop your first Angular 7 application with routing, CRUD operations and Bootstrap 4 UI

27 Dec 2018

Read article

Angular 7|6 Tutorial Course: Authentication with Firebase (Email & Password)

In this course, you'll learn to develop your first Angular 7 application with routing, CRUD operations and Bootstrap 4 UI

27 Dec 2018

Read article

Angular 7!

Angular 7 beta is released

15 Aug 2018

Read article

Getting started with Material Design 6 in Angular 6

How to get started with Material Design 6 in Angular 6

28 Jul 2018

Read article

Deploying Angular 6|7 Apps to Github Pages

In this tutorial we'll see how to deploy Angular 6 apps to Github pages

27 Jul 2018

Read article

Building Angular 6|7 Universal Apps (Server Side Rendering)

In this tutorial we'll see how to render Angular 6 universal apps on the server

27 Jul 2018

Read article

RxJS 6 for Angular Developers Tutorial by Example

In this RxJS 6 tutorial you'll learn about the latest version of RxJS, a library that implements Reactive programming in JavaScript. You'll learn about the core RxJS 6 concepts such as Observables, Observers, Subjects, Streams, Subscriptions and Operators.

18 Jul 2018

Read article

Angular 6|7 Router: Lazy Loading Modules Tutorial (loadChildren() Example)

In this tutorial, we'll see by example Angular 6 routing and lazy loading components using feature modules and the loadChildren() method

17 Jul 2018

Read article

Ionic 4/Angular Tutorial - Ionic 4 Router (Routing and Navigation Example)

Throughout this tutorial, we'll see how to add routing to Ionic 4 with the Angular 6 router

25 Jun 2018

Read article

Ionic 4 Upgrade: Updating From Ionic 3 to Ionic 4/Angular 6

Throughout this tutorial, we'll see how to upgrade your Angular 6 project to use RxJS 6

20 Jun 2018

Read article

Angular 6 Upgrade: Migrating to RxJS 6

Throughout this tutorial, we'll see how to upgrade your Angular 6 project to use RxJS 6

19 Jun 2018

Read article

Learn Angular: Full-Stack & CRUD Angular 7/8 PDF Tutorial

In this Angular 7/8 PDF tutorial, you'll going to learn how to build full-stack web applications with Angular 8 and a Python back-end.

09 Jun 2018

Read article

Angular 6|5 Tutorial: Integrating Angular with Django

In this tutorial we'll see how we can integrate the Angular 6 front-end application with the Django back-end.

29 May 2018

Read article

Angular Tutorial (Updated to Angular 7)

In this tutorial series we'll cover, the new Angular 6 features, the basics and the in-depth concepts of Angular 4/5/6 framework, starting with how to install the Angular CLI 6 and how to upgrade an existing Angular 5 project to Angular 6.

24 Apr 2018

Read article

Single Page Apps with Flask and Angular 4|5 Tutorial Series

In this tutorial series we'll be using Python, Flask, SQLAlchemy and Angular 5 to build a modern RESTful web application with an architecture that consists of a front-end application with Angular 5 and a back-end REST API using Flask.

04 Apr 2018

Read article

Building an Ionic 3/Angular 4|5 Application with a GraphQL API

In this tutorial we'll see how to build a CRUD Ionic 3 mobile application (or if you prefer an Angular 4+ web application) using the modern GraphQL-based API

20 Jan 2018

Read article

3+ Ways to Add Authentication to Ionic 3 (Angular 4|5) Applications

In this article we'll look at the available options for adding authentication to your Ionic 3 application

20 Jan 2018

Read article

QuickTip: Django and AngularJS Conflicting Interpolation Symbols

In this quick-tip post we'll see how to change the conflicting symbols for template tags when using Django and AngularJS

20 Jan 2018

Read article

Building Modern Web Apps with Python, Django Rest Framework and Angular 4|5

In this tutorial we are going to learn how to get started building modern web applications with Python, Django and Django Rest Framework as the back-end stack and the new Google Framework, Angular 2+, to build JavaScript client side applications, as the front-end technology. We'll see how to integrate both frameworks in the development and the production environments and how to use the Angular HTTP module to make API calls or Ajax requests to our REST API back-end.

18 Dec 2017

Read article

Building Server Side Rendered Apps with the Angular Universal Starter

How to build server rendered apps with Angular Universal Starter

28 Jul 2017

Read article

How To Read QR Codes In Angular ?

Reading QR Codes in Angular 4+

07 Jun 2017

Read article

Create a QR Code Generator with Angular 4+

How To Generate QR Codes In Angular 4+ Applications

06 Jun 2017

Read article

About

Angular 10/9 Cookbook

License:MIT License