Angular Projects
Angular is a platform and framework for building single-page client application using HTML and TYPESCRIPT.
Angular is written in TYPESCRIPT. The architecture of an angular application relies on certain fundamental concept, The basic building blocks are NgModule,
Which provide a compilation context for components NgModules collect code into functional sets.An app always has at least a root module that enables bootstrapping, and typically has many more feature modules.- Components define views, which are sets of screen elements that Angular can choose among and modify according to your program logic and data.
- Components use services, which provide specific functionality not directly related to views. Service providers can be injected into components as dependencies, making your code modular, reusable, and efficient.
- The metadata for a component class associates it with a template that defines a view. A template combines ordinary HTML with Angular directives and binding markup that allow Angular to modify the HTML before rendering it for display.
- The metadata for a service class provides the information Angular needs to make it available to components through dependency injection (DI).
Prerequisites
To use the Angular framework, you should be familiar with the following:
- JAVASCRIPT.
- HTML
- CSS
To create a new workspace and initial starter app:
Run the CLI command ng new and provide the name my-app, as shown here:
The ng new command prompts you for information about features to include in the initial app. Accept the defaults by pressing the Enter or Return key.
Run application
Goto browser and http://localhost:4200/
...THANKS YOU...
No comments:
Post a Comment