Skip to content

Commit 842ab4f

Browse files
committed
Added documentation.
1 parent b4f0b4b commit 842ab4f

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Java EE 7 - Angular - Sample Application #
2+
3+
## How to run ? ##
4+
5+
* You need JDK 7 or higher, Maven 3 and Wildfly 8 to run the application.
6+
7+
* Build the code using Maven with the command: `mvn clean install``.
8+
9+
* Copy the file javaee7-angular-1.0-SNAPSHOT.war from target directory to your Wildfly installation folder /standalone/deployments
10+
11+
* Start Wildfly and go to http://localhost:8080/javaee7-angular-1.0-SNAPSHOT/
12+

src/main/webapp/index.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<!DOCTYPE html>
2+
<!-- Declares the root element that allows behaviour to be modified through Angular custom HTML tags. -->
23
<html ng-app="persons">
34
<head>
45
<title></title>
@@ -19,9 +20,12 @@
1920
<br>
2021

2122
<div class="grid">
23+
<!-- Specify a JavaScript controller script that binds Javascript variables to the HTML.-->
2224
<div ng-controller="personsList">
25+
<!-- Binds the grid component to be displayed. -->
2326
<div class="gridStyle" ng-grid="gridOptions"></div>
2427

28+
<!-- Bind the pagination component to be displayed. -->
2529
<pagination direction-links="true" boundary-links="true"
2630
total-items="persons.totalResults" page="persons.currentPage" items-per-page="persons.pageSize"
2731
on-select-page="refreshGrid(page)">

0 commit comments

Comments
 (0)