Skip to content

Commit

Permalink
[Angular] Fix ToC
Browse files Browse the repository at this point in the history
  • Loading branch information
komidawi committed Dec 19, 2024
1 parent 71ed9eb commit a625f3d
Showing 1 changed file with 67 additions and 69 deletions.
136 changes: 67 additions & 69 deletions _posts/learning/frontend/2024-03-23-Angular.MD
Original file line number Diff line number Diff line change
Expand Up @@ -8,75 +8,73 @@ tags: [ angular, frontend ] # TAG names should always be lowercase
## Table of Contents

<!-- TOC -->

* [Table of Contents](#table-of-contents)
* [Angular](#angular)
* [Installation, initialization](#installation-initialization)
* [Selectors](#selectors)
* [Data Binding](#data-binding)
* [`$event`](#event)
* [Directives](#directives)
* [Directives](#directives-1)
* [Create `*ngIf` with `else`](#create-ngif-with-else)
* [`*ngFor`](#ngfor)
* [Custom Directives](#custom-directives)
* [Example](#example)
* [Generating Directives from CLI](#generating-directives-from-cli)
* [Directives allow to listen to events:](#directives-allow-to-listen-to-events)
* [Structural Directives behind the scenes](#structural-directives-behind-the-scenes)
* [`@HostBinding`](#hostbinding)
* [`[ngSwitch]` example](#ngswitch-example)
* [Binding](#binding)
* [Allow external components to "send" data](#allow-external-components-to-send-data)
* [Local reference](#local-reference)
* [`@ViewChild()`](#viewchild)
* [`<ng-content></ng-content>`](#ng-contentng-content)
* [`@ContentChild()`](#contentchild)
* [Example](#example-)
* [Lifecycle Hooks](#lifecycle-hooks)
* [Services](#services)
* [Inject Service](#inject-service)
* [Hierarchical Injector](#hierarchical-injector)
* [**Scopes:**](#scopes)
* [The whole Application](#the-whole-application)
* [All Components](#all-components)
* [Component (and its children)](#component-and-its-children)
* [Inject Service](#inject-service-)
* [How it works](#how-it-works)
* [How Angular handles CSSes](#how-angular-handles-csses)
* [View Encapsulation](#view-encapsulation)
* [Definitions](#definitions)
* [Various](#various)
* [Various](#various-1)
* [Emmet](#emmet)
* [Bootstrap](#bootstrap)
* [Testing](#testing)
* [WSL2 🔨](#wsl2-)
* [Testing](#testing-1)
* [Run tests](#run-tests)
* [Customize Karma Test Runner and/or Jasmine](#customize-karma-test-runner-andor-jasmine)
* [Run tests in CI/CD](#run-tests-in-cicd)
* [Generate Coverage Report](#generate-coverage-report)
* [Some ways of injecting dependencies](#some-ways-of-injecting-dependencies)
* [Just use real production service](#just-use-real-production-service)
* [Use fake service](#use-fake-service)
* [Use fake object](#use-fake-object)
* [Use Spy](#use-spy)
* [`TestBed`](#testbed)
* [TestBed Example](#testbed-example)
* [Testing HTTP Services](#testing-http-services)
* [Example of HTTP test](#example-of-http-test)
* [Asynchronous testing](#asynchronous-testing)
* [Testing Components](#testing-components)
* [DOM Testing](#dom-testing)
* [async functions](#async-functions)
* [`createComponent()`](#createcomponent)
* [`ComponentFixture`](#componentfixture)
* [`NativeElement`](#nativeelement)
* [`DebugElement`](#debugelement)
* [Example of testing](#example-of-testing)
* [Legend](#legend)

* [Table of Contents](#table-of-contents)
* [Angular](#angular)
* [Installation, initialization](#installation-initialization)
* [Selectors](#selectors)
* [Data Binding](#data-binding)
* [`$event`](#event)
* [Directives](#directives)
* [Directives](#directives-1)
* [Create `*ngIf` with `else`](#create-ngif-with-else)
* [`*ngFor`](#ngfor)
* [Custom Directives](#custom-directives)
* [Example](#example)
* [Generating Directives from CLI](#generating-directives-from-cli)
* [Directives allow to listen to events](#directives-allow-to-listen-to-events)
* [Structural Directives behind the scenes](#structural-directives-behind-the-scenes)
* [`@HostBinding`](#hostbinding)
* [`[ngSwitch]` example](#ngswitch-example)
* [Binding](#binding)
* [Allow external components to "send" data](#allow-external-components-to-send-data)
* [Local reference](#local-reference)
* [`@ViewChild()`](#viewchild)
* [`<ng-content></ng-content>`](#ng-contentng-content)
* [`@ContentChild()`](#contentchild)
* [Example](#example-1)
* [Lifecycle Hooks](#lifecycle-hooks)
* [Services](#services)
* [Inject Service](#inject-service)
* [Hierarchical Injector](#hierarchical-injector)
* [Scopes](#scopes)
* [The whole Application](#the-whole-application)
* [All Components](#all-components)
* [Component (and its children)](#component-and-its-children)
* [Inject Service](#inject-service-1)
* [How it works](#how-it-works)
* [How Angular handles CSSes](#how-angular-handles-csses)
* [View Encapsulation](#view-encapsulation)
* [Definitions](#definitions)
* [Various](#various)
* [Various](#various-1)
* [Emmet](#emmet)
* [Bootstrap](#bootstrap)
* [Testing](#testing)
* [WSL2 🔨](#wsl2-)
* [Testing](#testing-1)
* [Run tests](#run-tests)
* [Customize Karma Test Runner and/or Jasmine](#customize-karma-test-runner-andor-jasmine)
* [Run tests in CI/CD](#run-tests-in-cicd)
* [Generate Coverage Report](#generate-coverage-report)
* [Some ways of injecting dependencies](#some-ways-of-injecting-dependencies)
* [Just use real production service](#just-use-real-production-service)
* [Use fake service](#use-fake-service)
* [Use fake object](#use-fake-object)
* [Use Spy](#use-spy)
* [`TestBed`](#testbed)
* [TestBed Example](#testbed-example)
* [Testing HTTP Services](#testing-http-services)
* [Example of HTTP test](#example-of-http-test)
* [Asynchronous testing](#asynchronous-testing)
* [Testing Components](#testing-components)
* [DOM Testing](#dom-testing)
* [async functions](#async-functions)
* [`createComponent()`](#createcomponent)
* [`ComponentFixture`](#componentfixture)
* [`NativeElement`](#nativeelement)
* [`DebugElement`](#debugelement)
* [Example of testing](#example-of-testing)
* [Legend](#legend)
<!-- TOC -->

## Angular
Expand Down

0 comments on commit a625f3d

Please sign in to comment.