2
我正在嘗試使用ngdocs和grunt來記錄我的Angular WebApp。我想知道是否有一種方法來記錄路由配置,因爲我覺得我的WebApp路由系統相當複雜,而且它的文檔部分需要注意。如何使用ngDoc註釋routeConfig
反正我可以有它的控制器,工廠等的水平
我可以將它放在以下級別:
/**
* @ngdoc controller
* @name shippingSolutionApp.controller:MainCtrl
* @description
* # MainCtrl
* <strong>PAGE LEVEL CONTROLLER:</strong> This is a page level controller.
*
* This is a empty controller of shippingSolutionApp. Any business logic to initiate the app must fall here when required.
*
* This holds the initialization process for both the sub-child WebApps: Admin Dashboard and User Dashboard
* @requires
* $scope
*/
感謝, ANKIT