I am to new to code documentation and trying to document my angular application with grunt-ngdocs.
I cloned a working example from: https://github.com/m7r/grunt-ngdocs-example
The given example lacks a documented controller so I added my own documented controller with this code:
/**
* @ngdoc controller
* @name rfx.controller:testCtrl
* @description
* Description of controller.
*/
.controller('testCtrl', function() {
});
When I am trying to build a 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 do I fix this? I read this guide http://www.shristitechlabs.com/adding-automatic-documentation-for-angularjs-apps/ and I can't figure out why do I keep getting error message if I try to document a controller :( Thanks for any help!