Machine Problem

Write a program that uses ng-repeat directive that will display the list of computer parts with the following fields ID, Product, Quantity, and Price/Piece values below.

ID   Product                Quantity     Price/Piece
1    Laptop                 50           PHP 8,912.34

2    500 GB SS Hard drive   250          PHP 2,350.12

3    Optical Mouse          25           PHP   132,45

4    USB Keyboard           17           PHP   250.12

5    15" LCD Monitor        34           PHP 3,453.1

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following,, and

My mobile number here in the Philippines is 09173084360.

Please subscribe to my channel


You can buy my C++ book online at  

Beginner’s Guide To C++ Programming
You can buy my book in introduction to computer networking at Want to support my channel? GCash Account Jake Pomperada 09173084360 Paypal Patreon Thank you very much for your support.
Program Listing
<!-- index.htm
  Author   : Prof. Jake Rodriguez Pomperada, MAED-IT, MIT
  Date     : July 30, 2021 Friday 3:18 PM
  Place    : Bacolod City, Negros Occidental
  Websites : and
  Email    :
  <title>Computer Parts List Using ng-repeat in AngularJS</title>
body {
  font-family: arial;
  font-size: 25px;
  font-weight: bold;

<link rel="stylesheet" href="bootstrap.min.css">
<script type="text/javascript" src="angular.min.js">

<body ng-app="ngrepeatApp" ng-controller="ngrepeat_Controller">
<h2>Computer Parts List Using ng-repeat in AngularJS </h2>
     <table class="table table-bordered table-striped">
          <tr ng-repeat="prod in products">
var app = angular.module("ngrepeatApp", []);
app.controller("ngrepeat_Controller", function($scope) {
  $scope.products = [
    { id: 1, product: 'Laptop', quantity: '50', price: 'PHP 8,912.34'}, 
    { id: 2, product: '500GB SSD Hard Drive', quantity: '250', price: 'PHP 2350.12' }, 
    { id: 3, product: 'Optical Mouse', quantity: '25',price: 'PHP 132.45'},
    { id: 4, product: 'USB Keyboard', quantity: '17',price: 'PHP 250.12'},
    { id: 5, product: '15" LCD Monitor', quantity: '34',price: 'PHP 3453.10'}