Closed ghahramani closed 9 years ago
Unfortunately no, see https://github.com/olov/ng-annotate/issues/20 for history. PS I recommend this syntax:
angular.module(constants.module).controller(constants.controller, function ($scope) {
"ngInject";
...
});
Hi, I faced to a problem when I use constants
Not Annotated
Annotated:
Annotated:
Is there anyway to avoid add /* @ngInject / when you are using constants?