Our doc gen computes them for all headers based on the text in the header
On 13 Nov 2013 17:59, "Eugene Serkin" <notifications@github.com> wrote:

> In docs/content/guide/di.ngdoc:
>
> > @@ -195,7 +195,7 @@ where injection is supported.
> >
> >  DI is pervasive throughout Angular. It is typically used in controllers and factory methods.
> >
> > -### DI in controllers
> > +<h3 id="di.controllers">DI in controllers</h3>
>
> @petebacondarwin <https://github.com/petebacondarwin> how can one find
> how to generate such id?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/angular/angular.js/pull/4156/files#r7634294>
> .
>