Add angularjs dependency injection annotations with ng-annotate plus create main module
$ npm install gulp-ng-annotate-plus
var gulp = ;var ngAnnotate = ;gulp;
You can pass any of the ng-annotate options as an object:
remove: trueadd: truesingle_quotes: true
add: true option is implied by default unless
remove is set to true.
createMainModule: '<moduleName>' option when you want to create an angular module that depends on all the modules of the processed files.
File with main module is added to the end of the stream.
I got an error
Error in plugin 'gulp-ng-annotate': error: couldn't process source due to parse error
That's not a
I need the latest version of
Make sure you are using the latest version of
gulp-ng-annotate. Also try to reinstall/update it to get the latest suitable version of
ng-annotate from npm.
I need a new annotating feature/annotations are incorrect
Report it to ng-annotate's bugtracker.
gulp-ng-annotate is just a wrapper around
gulp-ng-annotate - Add angularjs dependency injection annotations with ng-annotate
To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty.
You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see http://creativecommons.org/publicdomain/zero/1.0/.