A Pen by Kautuk R Desai

Thumbnail
This awesome code was written by kautuk-desai, you can see more from this user in the personal repository.
You can find the original code on Codepen.io
Copyright kautuk-desai ©

Technologies

  • HTML
  • JavaScript
<!DOCTYPE html>
<html lang="en" >

<head>
  <meta charset="UTF-8">
  <title>A Pen by  Kautuk R Desai</title>
  
  
  
  
  
</head>

<body>

  <div ng-app="myApp" ng-controller="carCtrl"> 

<table>
  <thead>
    <th>a</th>
    <th>b</th>
    <th>c</th>
  </thead>
  <tbody>
  <tr ng-repeat="car in cars">
    <td>{{ car.make }}</td>
    <td>{{ car.vin }}</td>
    <td>{{ car.model }}</td>
  </tr>
  </tbody>
</table>

</div>
  <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.6.9/angular.js'></script>

  

    <script  src="js/index.js"></script>




</body>

</html>

/*Downloaded from https://www.codeseek.co/kautuk-desai/a-pen-by-kautuk-r-desai-RMzMxM */
var app = angular.module('myApp', []);
app.controller('carCtrl', function($scope, $http) {

$scope.cars = [{make: "1", vin: "1", model:"1"},{make: "1", vin: "1", model:"1"}]
    });

Comments