I am experimenting with Angularjs and I really like what I have seen so far. However, one thing looks strange to me: As far as I can tell, Angular requires at least 2 requests for every dynamic view created: The first for the document and the second for data using $http service. That seems to be an incredible disadvantage for the following reasons:
- network latency is doubled
- the user can't see anything useful until the response to second request is preocessed
Imagine a page with a dynamicly created list of items. The first request pulls the document, the second gets the data to be dsiplayed. The user will end up with an empty list for a short period of time until the response to the second request is processed.
While it is possible to not show the list until the data is complete it is clear that the user experience will suffer from the doubled network latency. I see this as a major disadvantage over server side frameworks that deliver a document that initially contains the data.
Do I miss something here or is this a limitation 'by design'?