title: How to comment AngularJS component with JSDoc
body: <p>What tag should we use to document an Angular JS component with JSDoc? I was thinking of using @module, am I right?</p>
  
  <p>For example :</p>
  
  <pre><code>/**
  * @module helloWorld
  *
  * @description AngularJS component to display a message with a name.
  *
  */
  angular.component('helloWorld', {
    bindings: {
      name: '@'
    },
    controller : function helloWorldCtrl () {
      this.logName = logName;
  
      /**
       * @function logName
       *
       * @param {string} msg - message to display with the name.
       *
       * @memberof helloWorld
       *
       * @description Log in the console the message with the name.
       *
       */
      function logName(msg) {
        console.log(msg + this.name);
      }
    },
    template : '&lt;div&gt;&lt;span ng-click="$ctrl.logName('Hi ')"&gt;{{$ctrl.name}}!&lt;/span&gt;&lt;/div&gt;'
  });
  </code></pre>
  
  <p>I would have the same question for directive, service and controller. Besides is my way of using @memberof right?</p>