<!DOCTYPE html>
<html>
<head>
	<title>Buttons with built-in progress meters</title>
	<link href="style.css" type="text/css" rel="stylesheet" />
</head>
<body>
	<h1>Progress Buttons</h1>

	<a id="submitButton" href="#" class="progress-button">Submit</a>
	<a id="actionButton" href="#" class="progress-button green" data-loading="Working.." data-finished="Finished!" data-type="background-bar">Action!</a>
	<a id="generateButton" href="#" class="progress-button red" data-loading="Generating.." data-finished="Download" data-type="background-vertical">Generate</a>

	<h1>Progress Control</h1>

	<a id="controlButton" href="#" class="progress-button">Start</a>

	<div class="control-area">
		<a class="command increment">Increment</a>
		<a class="command set-to-1">Set to 1%</a>
		<a class="command set-to-50">Set to 50%</a>
		<a class="command finish">Finish</a>
	</div>

	<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
	<script src="script.js"></script>
</body>
</html>

<!DOCTYPE html>
<html ng-app="progressButtonDemo">
<head>
	<title>Buttons with built-in progress meters</title>
	<link href="style.css" type="text/css" rel="stylesheet" />
</head>
<body>
	<h1>Progress Buttons</h1>

	<a id="submitButton" href="#" class="progress-button">Submit</a>
	<a id="actionButton" href="#" class="progress-button green" data-loading="Working.." data-finished="Finished!" data-type="background-bar">Action!</a>
	<a id="generateButton" href="#" class="progress-button red" data-loading="Generating.." data-finished="Download" data-type="background-vertical">Generate</a>

	<h1>Progress Control</h1>

	<a id="controlButton" href="#" class="progress-button">Start</a>

	<div class="control-area">
		<a class="command increment">Increment</a>
		<a class="command set-to-1">Set to 1%</a>
		<a class="command set-to-50">Set to 50%</a>
		<a class="command finish">Finish</a>
	</div>

	<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.12/angular.min.js"></script>
	<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
	<script src="script.js"></script>
</body>
</html>

Add AngularJS and make the page an app
Add AngularJS and make the page an app
