Midwest Dev Chat

MidwestDevChat.com

  • The newest 15 messages in the super-cool #angularjs channel.

  • 09/13 14:20:38 Chanel: Or perhaps, are you using ngAnnotate? https://www.npmjs.com/package/ng-annotations
  • 09/13 14:20:53 Paula: Yep. On constructors, some methods.
  • 09/13 14:20:57 Chanel: thinking_face
  • 09/13 14:22:39 Chanel: But you've narrowed it down the the specific class that's having the issue?
  • 09/13 14:22:51 Chanel: The exact line where things are being injected?
  • 09/13 14:23:56 Paula: Wait a sec. I think maybe... I guess you can't inject a factory into a provider via constructor?
  • 09/13 14:25:18 Paula: So, I'm in the middle of converting this project to typescript from js. So, it seems that I've converted the provider incorrectly.
  • 09/13 14:26:28 Chanel: Yea I can't speak for TypeScript stuff ... But if the problem is unknown provider it should give a name of that it's looking for right?
  • 09/13 14:28:35 Paula: Yep, it is. And the name is the factory that I'm trying to inject into the provider's constructor.
  • 09/13 15:04:43 Paula: Okay, yep. Turns out that was the problem. I must have worked on that file at two separate times with two separate ideas. stuck_out_tongue_winking_eye
  • 09/13 15:04:53 Paula: Now it makes more sense and is working wink.
  • 09/13 15:05:02 Paula: Appreciate the help! @Chanel
  • 09/13 15:05:19 Chanel: np
  • *Usernames have been changed to protect the innocent.
We're currently 972 members strong. Join us!
Request Invite

Check out all the cool channels!

Join the conversation!