<!DOCTYPE html>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<html data-ng-app="serviceModule">
<head>
<meta charset="ISO-8859-1">
<title>Spring MVC AngularJS RESTFul Service example</title>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.26/angular.min.js"></script>
<script src="static/AngularJSService/serviceController.js"></script>
<script src="static/AngularJSService/service.js"></script>
</head>
<body data-ng-controller="myServiceController"> 
	
	<h3>${message} <spring:message code="label.name" /></h3>
	<p><button data-ng-click="getJSONDataFromServer()">Get JSON data from server</button></p>
	<p style="font-weight: bold;">Raw data received form server:</p>
	<p>{{data}}</p>
	<p style="font-weight: bold;">Iterate and align data received form server:</p>
	<div data-ng-repeat="dataDetails in data">Key: {{dataDetails.key}} Values: {{dataDetails.values}}</div>	

</body>
</html>