Added the markup for the loading view example.
Fixed issues with scope caused by declaring axLoading as a function. Fixed other various bugs caused by the initial migration.
Merge branch 'master' into gh-pages