The largest Interview Solution Library on the web


« Previous | 1 | 2 | 3 | Next »

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>
« Previous | 1 | 2 | 3 | Next »


copyright © 2014 - all rights riserved by javatechnologycenter.com