fixed #4

fixed #5

Updated the ngdoc templates.