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 »