Angular 🚀
A collection of my Angular fundamentals, tutorials, practice examples, and projects as I learn and explore Angular step by step.
This repository is my learning space, where I practice concepts, experiment with code, and build projects — from the basics to more advanced topics. If you're learning Angular too, feel free to explore and learn along with me!
- About
- Official Resources
- Getting Started
- Clone This Repository
- Angular Learning Roadmap
- Useful Angular CLI Commands
- Goals
In this repository, you'll find:
- 📖 Fundamentals — Core Angular concepts and explanations.
- 💻 Practice Examples — Code examples to understand concepts in practice.
- 🧩 Tutorials — Step-by-step learning exercises.
- 🚀 Projects — Applications built while learning Angular.
- 📝 Learning Notes — Useful commands, tips, and references.
Learn from the official Angular documentation and use it as your primary reference.
| Resource | Description |
|---|---|
| Angular Documentation | Official guides and concepts |
| Angular Tutorials | Interactive tutorials and learning resources |
| Angular CLI | CLI commands and project tools |
| Angular API Reference | Classes, functions, and APIs |
| Node.js | JavaScript runtime required for Angular tooling |
| TypeScript | TypeScript documentation |
Before working with Angular, install:
- Node.js — includes npm.
- Visual Studio Code — recommended editor.
- Git — to clone repositories and manage code.
Verify your installation:
node -v
npm -v
git --versionAngular CLI provides commands to create, develop, test, and build Angular applications.
npm install -g @angular/cliVerify the installation:
ng versionng new my-angular-appFollow the prompts to configure your application.
cd my-angular-appng serve --openYour application will normally be available at:
The development server watches for code changes and refreshes the application as you work.
Clone this repository to explore the tutorials, examples, and projects.
git clone https://github.com/GitH05/angular.git
cd angularOpen it in Visual Studio Code:
code .Note: This repository may contain multiple Angular applications. To run one, navigate to its directory containing package.json, install its dependencies with npm install if necessary, and start it with ng serve.
The following roadmap covers the journey from the prerequisites to building and deploying Angular applications.
- HTML and CSS fundamentals
- JavaScript fundamentals
- TypeScript basics
- Git, command line, and npm basics
- Introduction to Angular and Angular CLI
- Project creation and folder structure
- Components and templates
- Interpolation and data binding
- Event handling
- Directives and pipes
- Component lifecycle hooks
- Services and dependency injection
- Component communication
- Routing and navigation
- Template-driven forms
- Reactive forms and validation
- HTTP requests and REST APIs
- Observables and RxJS
- Signals and reactive state
- Route guards and resolvers
- HTTP interceptors
- Lazy loading
- Change detection and performance
- Reusable components and best practices
- Error handling and security
- Unit and component testing
- Build small practice applications
- Create CRUD applications
- Work with external APIs
- Build a complete application with routing and forms
- Test and optimize applications
- Create a production build
- Deploy an Angular application
This roadmap is a work in progress. I'll keep updating it as I learn new concepts and complete projects.
| Command | Purpose |
|---|---|
ng new my-app |
Create a new Angular application |
ng serve |
Start the development server |
ng serve --open |
Start the server and open the browser |
ng generate component my-component |
Generate a component |
ng generate service my-service |
Generate a service |
ng generate directive my-directive |
Generate a directive |
ng generate pipe my-pipe |
Generate a pipe |
ng build |
Build the application |
ng test |
Run configured tests |
ng version |
Display Angular and CLI versions |
ng help |
Display available CLI commands |
Tip: You can also use the shorter ng g alias for ng generate, such as ng g c my-component to generate a component.
- Build a strong foundation in Angular.
- Understand concepts through hands-on practice.
- Create useful and practical projects.
- Write clean, reusable, and maintainable code.
- Keep track of my progress and share what I learn.
Thanks for visiting my repository! If you're learning Angular too, I hope you find something useful here.
Happy coding! 💻✨