Machine Problem
Write a program that uses ng-repeat directive that will display the list of my favorite fruits like grapes, apple, orange, banana, mangoes, and avocados on the screen.
My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.
My mobile number here in the Philippines is 09173084360.
Please subscribe to my channel https://www.youtube.com/channel/UCOs-lpOoIeJoh6gpJthPoGg
=================================================
You can buy my C++ book online at
https://www.mindshaperspublishing.com/product/beginners-guide-to-c-programming/
You can buy my book in introduction to computer networking at
https://www.unlimitedbooksph.com/product-page/introduction-to-computer-networking
Want to support my channel?
GCash Account
Jake Pomperada
09173084360
Paypal
https://paypal.me/jakerpomperada
Patreon
https://www.patreon.com/jakerpomperada
Thank you very much for your support.
Program Listing
<!-- index.htm
Author : Prof. Jake Rodriguez Pomperada, MAED-IT, MIT
Date : July 30, 2021 Friday 9:42 PM
Place : Bacolod City, Negros Occidental
Websites : www.jakerpomperada.com and www.jakerpomperada.blogspot.com
Email : jakerpomperada@gmail.com
-->
<html>
<head>
<title>My Favorite Fruits Using ng-repeat in AngularJS</title>
</head>
<style>
body {
font-family: arial;
font-size: 25px;
font-weight: bold;
}
</style>
<script type="text/javascript" src="angular.min.js">
</script>
<body ng-app="">
<h3>My Favorite Fruits Using ng-repeat in AngularJS</h3>
<div ng-init="Fruits=['Grapes','Apple','Orange','Banana','Mangoes','Avocados']">
<p>List of My Favorite Fruits</p>
<ul>
<li ng-repeat="list_of_fruits in Fruits">
{{ list_of_fruits }}
</li>
</ul>
</div>
</body>
</html>
No comments:
Post a Comment