Exercise - Project Setup Refresher
Angular Setup
We are going to work help you memorize how to set up an a basic Angular app. You will do this over an over for each Angular project and you need to get this down!
Requirements
- Build the HTML from scratch
- Load Angular framework from a CDN
- Create an Angular module
- Create an Angular controller
- Have two input boxes that will each take a number
- Have a label that displays the sum of the values of the two input boxes
- Have a Sum button that, when clicked, either
console.log
s oralert
s the sum of the two inputs - Created a 2nd controller in your JS and your HTML
- Create two input fields within this controller that takes two numbers
- Have a Product button that multiples the number
- Have another label that displays the result of the calculation