The food is {{spice}} spicy!
<html>
<head> <body> <script src="app.js"></script> <div ng-controller="SpicyController"> <button ng-click="chiliSpicy()">Chili</button> <button ng-click="jalapenoSpicy()">Jalapeņo</button> <p>The food is {{spice}} spicy!</p> </div> </body> </html> |