title: JSDoc with AngularJS
body: <p>Currently within my Project we are using JSDoc, we have recently started to implement Angular and I want to continue using JSDoc to ensure that all the documentation is within the same place.</p>
  
  <p>I have taken a look at people mainly just saying to use ngDoc but this isn't really a viable option as we will always have separate JavaScript and I ideally would have everything together.</p>
  
  <pre><code>/**
   * @author Example &lt;jon.doe@example.com&gt;
   * @copyright 2014 Example Ltd. All rights reserved.
   */
  (function () {
      window.example = window.example || {};
      /**
       * Example Namespace
       * @memberOf example
       * @namespace example.angular
       */
      window.example.angular = window.example.angular || {};
      var exAngular = window.example.angular;
  
      /**
       * A Example Angular Bootstrap Module
       * @module exampleAngularBootstrap
       */
      exAngular.bootstrap = angular.module('exampleAngularBootstrap', [
              'ngRoute',
              'ngResource',
              'ngCookies'
          ])
          .run(function ($http, $cookies) {
              $http.defaults.headers.post['X-CSRFToken'] = $cookies.csrftoken;
              $http.defaults.headers.common['X-CSRFToken'] = $cookies.csrftoken;
          });
  })();
  </code></pre>
  
  <p>Currently this is what I have but am unable to put documentation for the run() any ideas? </p>