Submitted by sneha on Sat, 06/02/2018 - 04:25
Download and install node js latest version to get npm
npm install -g @angular\cli
Navigate to the folder where we need to setup Angular project and run
ng new my-first-app
Navigate to the project folder and run
Submitted by sneha on Sat, 06/02/2018 - 04:22
Major release version of Angular are:
-
Angular JS
-
Angular 2
-
Angular 4
-
Anugular 5
-
Angular 6
The version 2.x and higher is called 'Angular' and the version 1.x or less is called 'Angular JS'
Angular JS:
Submitted by sneha on Sat, 06/02/2018 - 04:21
Please make your request for notes and I will try to add them as part of my personal goal of becoming an Angular expert by end of June 2018.
Submitted by sneha on Sun, 04/15/2018 - 08:10
In Many-To-Many mapping, we refer to a collection/list of the entity from another entity and vice versa; and used @ManyToOne annotation on declarations of both entity collections.
We will assume that each course can have many students (many to many), and each student can do many course(many to many).
We will create two entity classes, Course and Student and do a many to many mapping from course to student, and again many to many mapping from student to course.
Submitted by sneha on Sun, 04/15/2018 - 08:09
In One-To-Many mapping, we refer to a collection/list of the entity from another entity and mark the reference variable as @OneToMany. The opposite of this relation from the second entity to the first will be Many-To-One and is annotated as @ManyToOne.
We will assume that each course can have many students(one to many), but each student can do only one course(many to one).
We will create two entity classes, Course and Student and do a one to one mapping from course to student, and many to one from student to course.
Pages