You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First for all thanks for the hard work , unfortunate i didnt found any mentions in the docs or closed issues.
So the question is very simple:
someOldController.$inject=[]// this is required in stricDisomeOldController(UserServiceCreatedWithNgMetadata){}
the question is ,d how do i provide the ngMetadata created service in $inject ? Ive tried with string 'UserServiceCreatedWithNgMetadata' not found , ive tried with UserServiceCreatedWithNgMetadata not found , ive tried with UserServiceCreatedWithNgMetadata.name same story.
@aciccarello Yep that works , thanks.
That should be somewhere in the docs , because sometimes you cant take a huge app and just rewrite it all , in terms of backwards compatibility you are forced to do it in progression.
First for all thanks for the hard work , unfortunate i didnt found any mentions in the docs or closed issues.
So the question is very simple:
the question is ,d how do i provide the ngMetadata created service in
$inject
? Ive tried with string'UserServiceCreatedWithNgMetadata'
not found , ive tried withUserServiceCreatedWithNgMetadata
not found , ive tried withUserServiceCreatedWithNgMetadata.name
same story.another example is httpInterceptor
In the interceptor example i will get a strictDi error aswell
The text was updated successfully, but these errors were encountered: