Fix prototype methods in docs examples

When first learning Angular I got confused by the use of the prototype for methods in some parts of the docs and $scope in others. I finally found the 'Understanding Controllers' page which clarified that the $scope way is the right way, so here are some corrections to help future newbies.

[This PR contains is the same as #1807 but with better commit message]