Update ngdoc

Update to use @methodOf rather than @propertyOf, which should put the functions into the methods section of the documentation.