Closed hao1939 closed 8 years ago
The non-minified version in the dist folder has the annotation :) It's added in the build step, which means we don't need to keep it in the src and thus we can keep it a bit cleaner.
Well, if you are using bower, you will encounter problem. The bower would include the source file which package.json pointed to, bad lucky, it was pointed to the source file, not the one in folder dist/.
Gotcha. We can update the package.json
and bower.json
files to point to dist/angular-lock.js
then. Do you want to modify your PR to do that?
Don't you think this PR is more straighforward? If we use explicit annotation everywhere, there woule be no way any body encountered this error again, or any misleading.
agree this would be useful.. I had the same problem,
i'm using angular 1.5 with webpack
Hi @chenkie,
Angular-lock would break the application if angular is running with strict-di mode enabled. The problem occurred using the normal '.js', the '.min.js' has dealt it correctly.
Thanks, Hao Yuan