Skip to content

OkomoJacob/AngularBasics

Repository files navigation

Angubasics

This project was generated with Angular CLI version 14.2.7.

Angular

Getting started with Angular Web framework for webApps

1. Introduction

Definition:

Angular is a Developement platform built on TypeScript with component-based framework, re-usable libraries(Routing, Client-server HTTP connections, Validation) and developement tools that has helps you build web UI

Angular versions:

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec nec gravida nunc. Donec et ultrices magna, quis vulputate nisl. Vivamus ac augue erat. Aliquam erat volutpat. Nam sapien purus, venenatis eu leo in, condimentum cursus quam. Nullam quis venenatis metus, a eleifend dolor. Donec urna nisi, ultricies eget odio vitae, molestie tincidunt leo.

Prerequisites

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec nec gravida nunc. Donec et ultrices magna, quis vulputate nisl.

2. Installations:

  • VS Code: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec nec gravida nunc.
  • NodeJS: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec nec gravida nunc.
  • Angular CLI: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec nec gravida nunc.
  • Angular ng command: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec nec gravida nunc.
  • Create new project: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec nec gravida nunc.

3. Node and npm:

What is Node?

What is VB Chrome Engine?

node_modules

What is Package.json?

4. TypeScript:

What is TypeScript?

Installing Typescript?

How does TypeScript inscreases productivity?

Is Typescript Class based OOP?

Creating modules using imports and exports

Compile vs Transpile vs Convert

5. Create and Run a project- Angular CLI

Creating an Angular project

Run project

Fixing ng serve errors

6. What are these files in Angular project?

  • Package.json:
  • Tsconfig.json:
  • angular.json:
  • spec files:
  • Understanding src and app directories
  • The component concept:
  • Write simple logic in the component

7. @Decorator, components, Modules & Directives.

  • @Decorator,Selector, TemplateURl and StylesUrl:
  • Component: HTML + Logic + CSS
  • Directives: Appening behavior to HTML elements
  • Redefining a template

8. Angular bootstrapping flow

  • Why Main.ts and index.html?
  • Component: View + Logic
  • Modules group component

9. Bindings, expressions and inteerpolation

  • ngModule directives and expressions
  • Interpolation Mixing Angular with HTML
  • Common errors
  • What are FormsModule?
  • Collections and For Loops
  • Simple Forms and Table Binding logic.

10. More on Bindings.

  • Types
  • Component, Structure and Attribute
  • Understanding more about the above Bindings

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The application will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published