Replicate Tutorialzine’s original buttons with built-in progress meters

The original tutorial is available on http://tutorialzine.com/2013/10/buttons-built-in-progress-meters/.
Add AngularJS and make the page an app
Add Angular controller ProgressButtonsCtrl
Add directive 'progressButton'
Add class 'progress-button' for progressButton directives
Wrap progressTimed()
Use progress-button directive for submit button
Add button colors green and red
Create a new child scope for every directive
Wrap data-type, data-loading and data-finished
Add support for progress button colors
Recreate action button in Angular
Recreate generate/download button in Angular
Wrap progressStart()
Recreate progress control area in Angular
Remove href="#" from every progress button
Remove all code from $(document).ready()
Initialize progress buttons in directive
Simplify progress-button’s attributes
Remove progress-button-color attribute and just use CSS classes