This sample should make protractor wait for a setTimeout to complete.
Do something async not using angular please!
Do both async things please!
Do both async things in sequence please!
{{main.data}}