I am on the new code documentation and am trying to document my angular application using grunt-ngdocs.
I cloned a working example from: https://github.com/m7r/grunt-ngdocs-example
There is no documented controller in this example, so I added my own documented controller using this code:
.controller('testCtrl', function() { });
When I try to create documentation by running grunt from the command line, I get the following error message:
Warning: Don't know how to format @ngdoc: controller Use --force to continue.
How to fix it? I read this guide http://www.shristitechlabs.com/adding-automatic-documentation-for-angularjs-apps/ and I canβt understand why I keep getting an error message if I try to document the controller :( Thanks for any help!
javascript angularjs documentation-generation ngdoc
noviewpoint
source share