Closed johnib closed 8 years ago
The first example use a function expression, the second a function declaration. So change the first example to
function AggTypeService(Private) { “ngInject”; ... }
return AggTypeService;
if you prefer that annotation form.
Hello,
I have two files of the form;
and:
What’s the difference between the two files that makes the annotate syntax different? I would like to have the second syntax on the first file. What am I missing?
Thanks a lot .