Vineet Reynolds created FORGEPLUGINS-136:
--------------------------------------------
Summary: Angular scaffolding should use promises when fetching data from
multiple resources
Key: FORGEPLUGINS-136
URL:
https://issues.jboss.org/browse/FORGEPLUGINS-136
Project: Forge Plugins
Issue Type: Enhancement
Components: AngularJS Scaffold
Reporter: Vineet Reynolds
Assignee: Vineet Reynolds
Certain varieties of AngularJS controllers generated by the scaffold fetch data from
multiple ngResources. Since the fetches are performed in an asynchronous manner, some of
the values are not available to the controller and the model. This results in the view
being in an unstable state for an indeterminate amount of time.
The generated scaffold should use promises to establish a 'barrier' that must be
passed before the view is made available for editing to users.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira