9. Angular and MongoDBs

Angular and MongoDBs

1.      Angular Application Setup

Observe the link http://localhost:4200/welcome on which the mCart 

application is running. 

 

2.      Components and Modules

Create a new component called hello and render Hello Angular on the 

Page

 

3.      Elements of Template

Add an event to the hello component template and when it is clicked, it should 

change the courseName.

 

4.      ngFor Create a courses array and rendering it in the template using ngFor directive in a list format

 

5.      ngClass

Apply multiple CSS classes to the text using ngClass directive.

 

6.      Built in Pipes

Display the product code in lowercase and product name in uppercase 

using built-in pipes.

7.      Template Driven Form

Create a course registration form as a template-driven form.

8.      Write MongoDB queries to Create and drop databases and collections

 

9.      Write MongoDB queries to perform CRUD operations on document using insert(), find(), update() and sort()

10.  Install MongoDB on the local computer. Install MongoDB Server, MongoDB Shell and test connectivity


Comments

Popular posts from this blog

1. a. Angular Application Setup

2. Structural Directives - ngIf