1) Initial examples were listed with simply "pdf.src" within the view, however later they were shown as "$ctrl.src" so I changed this to "pdf.src" to improve consistency. I also removed all other occurrences of $ctrl from the views. Although using $ctrl makes sense to explain this, consistency is improved by making them all the same.
2) on-page-load="onPageLoad()" in the view was missing page value so changed to --> on-page-load="onPageLoad(page)"
1) Initial examples were listed with simply "pdf.src" within the view, however later they were shown as "$ctrl.src" so I changed this to "pdf.src" to improve consistency. I also removed all other occurrences of $ctrl from the views. Although using $ctrl makes sense to explain this, consistency is improved by making them all the same.
2) on-page-load="onPageLoad()" in the view was missing page value so changed to --> on-page-load="onPageLoad(page)"