title: Cannot call method 'then' of undefined
body: <p>Why am I getting 'cannot call method 'then' of undefined': </p>
  
  <p><a href="http://plnkr.co/edit/yWS6hRjmZZeZMJyVA0zy?p=preview" rel="nofollow">http://plnkr.co/edit/yWS6hRjmZZeZMJyVA0zy?p=preview</a> </p>
  
  <p>Can you not resolve a promise inside the .then of another promise? </p>
  
  <p>The code works fine if you take out the call to doSomething(), and it gets the suburbs, but as soon as you add the call to doSomething() it fails with that .then undefined error.</p>
  
  <p>The call to doSomething also works if it's outside of the .then for the requests to get the suburbs, so that's why I'm lead to believe it's something to do with it being embedded.</p>
  
  <p>Thank you</p>