Update di.ngdoc

The recommended way to add a controller should NOT be by creating a global function.  Changed to use the array notation.