General question for the group. I have a checkout page that is built with Angular. there are four different controllers that handle different tasks; items, shipping info, credit card info, order submission. I would like to be able to trigger the functions inside the first three controllers from the submission controller.
If I put everything into one huge controller it all works fine, but I would like to keep the different actions separate. I have tried nesting the first three controllers inside the submission controller...but parent controllers don't have access to child scope.
Any thoughts on a good structure would be really helpful. Thanks.
@MQuy , My Bing experience:
A recruiter sent me the Bing job originally, and I was surprised when they requested the interview, because I didn't think anything would come of it, really. I only had about half the skills they were looking for, and I actually taught myself XML the day before, just to prep for it.
There were three interviewers in a row, mostly asking me about more technical stuff than chit-chat or things about myself.
The second guy went right into a programming challenge, and this one was more about logging errors and cloud services, and was more conceptual. He had a heavy Russian accent, and wasn't the best at conveying his ideas across. I asked for a lot of elaboration and kept asking questions. When I finally understood what he was looking for, I realized it wasn't that complicated. He really just wanted me to show him what a class definition in C# would look like for this specific situation.
The third guy had almost no programming questions. All he wanted me to do was to circle the errors in a mock XML document, and then asked a bunch of crazy questions like "If you were the CEO of Microsoft and had to make a speech..." and "If we built a time machine and went back 100 years..." It reminded me of when Google asks Vince Vaughn the blender question in the movie The Internship. I just worded my answers very carefully and thoughtfully, took everything as seriously as I could, didn't ramble on, and tried not to take a huge amount of time before answering.
They apparently must have liked what I said and wrote, because the recruiter emailed me an hour later (I wasn't even home yet) and said they wanted me to start as soon as possible.