Angular — New Application Basics

Jawadhasan
4 min readJun 6, 2023
Photo by Fran Jacquier on Unsplash

Introduction

In previous post, we started with Angular basics and setup an angular application. Today, we’ll continue our learning with some more angular basics such as components, and simple data binding with HTML elements.

Components

  • Components are the basic building blocks of Angular applications.
  • A component controls a portion of the screen.
  • Component is a Decorator Function, which turns plain typescript classes to angular components.
  • We use a custom HTML tag (aka selector) to show, where we want our component to load inside our HTML.

Modules

Modules provide a way to organize our application.

Every Angular application must have a “root module”, which is required to launch the application.

Using feature modules help us patriation our application into logical grouping.

--

--

Jawadhasan

Software Solutions Team Lead | Cloud Architect | Solutions Architect