Commit c91c090
committed
Fix $injector to resolve lambdas
As the transpilation had been changed to ES6 instead of ES5, there is a problem, when $injector should resolve lambdas.
When they are transpiled to ES5, they are converted to functions. However in ES6 they are still lambdas and current `annotate` method does not work correctly.
Fix the regex that's used for the parsing and add unit tests for the failing cases.1 parent 600c292 commit c91c090
1 file changed
+1
-1
lines changed
0 commit comments