<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>Manga-izer!</title>	<!--Project title-->
	<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js"></script><!--Piesledz Angular-->
		<script src="js/angular.js"></script><!--kontrolieri-->
</head>
<body>

	<table ng-app="myApp" ng-controller="customersCtrl" border="1">
		<thead>
			<tr>
				<th>id</th>
				<th>name</th>
				<th>date_of_publishing</th>
				<th>status_id</th>
				<th>genre_id</th>
				<th>author_id</th>
				<th>description_id</th>
				<th>panel_id</th>
			</tr>
			</thead>
		<tbody>
			<tr ng-repeat="x in names">
				<td>{{x.id}}</td>
				<td>{{x.name}}</td>
				<td>{{x.date_of_publishing}}</td>
				<td>{{x.status_id}}</td>
				<td>{{x.genre_id}}</td>
				<td>{{x.author_id}}</td>
				<td>{{x.description_id}}</td>
				<td>{{x.panel_id}}</td>
			</tr>
			</tbody>
	</table>
</body>
<script>
 control1();
</script>
</html>