Apologies if this question sounds too obvious.
I\'ve recently starting exploring and learning AngularJS. I\'ve gone through some good tutorials -
I have a great and complex AngularJS project, so making manually the changes the all the codes would have been a big pain. But I solved using babel-plugin-angularjs-annotate.
Install the plugin:
$ npm install babel-plugin-angularjs-annotate --save-dev
and then add the plugin to the .babelrc
file:
{
"presets": ["@babel/preset-env"],
"plugins": ["angularjs-annotate"]
}