Angular

How to do the student mark calculation in Angular

In this tutorials will teach How to do the student mark calculation in Angular. First you have to add the FormsModule inside the imports. Create the new Components studentmarks studentmarks.component.html <form> <h1>Add Students Marks Calculation</h1> <div> <label >Marks 1</label> <input type = “text” name=”num1″ [(ngModel)] = “marks1″ class=”form-control” placeholder=”Enter Num 1″> </div> <div> <label >Marks

How to do the student mark calculation in Angular Read More »

Angular How to Add Two Number

In this tutorials will teach How to add two numbers in Angular. First you have to add the FormsModule inside the imports. Create the new Components addnumbers addnum.components.html <form> <h1>Add Two Numbers</h1> <div> <label >Number 1</label> <input type = “text” name=”num1″ [(ngModel)] = “num1″ class=”form-control” placeholder=”Enter Num 1″> </div> <div> <label >Number 2</label> <input type

Angular How to Add Two Number Read More »