AngularJS: Bit more JSDoc

And corrected parameter name
Merge pull request #2445 from johnnyreilly/master

AngularJS: Bit more JSDoc