Module 1.pptx Angular JS FRAMEWORK WEBDEVELOPMENT

raman76530 4 views 17 slides Feb 26, 2025
Slide 1
Slide 1 of 17
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17

About This Presentation

udsiudiy


Slide Content

Angular Module 1 - Introducing Angular

Learning Objectives What is Angular? What is a Framework? What is SPA? Why Angular? Installation of NodeJS Setting up our workspace with Angular CLI Creating a new project Basics of an Angular Application

What is Angular? Angular is a frontend JavaScript framework and it helps building interactive modern web user interfaces. Angular is a JavaScript framework which allows us to create Single Page Application(SPA).

What is a Framework? A framework is like a platform for developing software applications. A framework simplifies the process of building complex, interactive web user interfaces. They have predefined classes and functions which provides API’s for performing different operations.

What is SPA? SPA stands for Single Page Application. A SPA has only one HTML page and when we navigate around the menus in the web page only the content of that page changes without loading page. Here we are using JS to change the content of the page without reaching out to the server and it is much faster.

Why Angular? If we use only Vanilla JS/ jQuery it becomes hard to maintain as the application grows. Some functionalities must be written from scratch when using JS/jQuery. Angular provides a clean structure that is easy to understand and maintain. It is also a collection of tools & features such as CLI, which help us to build from basic to complex applications. Applications built with Angular are more testable.

Installation of NodeJS Node.js is a powerful, open-source, and cross-platform JavaScript runtime environment. It allows you to run JavaScript code outside the browser, making it ideal for building scalable server-side and networking applications. Enables the use of JavaScript for both frontend and backend development. Supports building real-time applications like chat apps and gaming servers.

Setting up Workspace with Angular CLI Angular CLI is a command line interface which use to create new angular project or generate some boilerplate code. npm install -g @angular/cli@latest To verify ng version

Create Angular Project To create a new angular project, we use the following command by navigating to the folder through command line. ng new projectname To compile and run ng serve

Bootstrapping Angular Application Bootstrapping is the process of initializing the Angular application. Angular Project index.html Angular Core Libraries Angular third party libraries angular.json To locate the main entry point (main.ts) main.ts AppComponent app.component.html

End of Module 1 Queries?
Tags