I asked this as part of another question yesterday, but I think it is best to break this into its own question.
I have a registration form which asks the user for name, address, email, etc. In return, smartystreets API returns suggested addresses correcting a possibly mistyped address. What I have (all on one page) is 1) the registration form and 2) a hidden list-item which I want to populate with the returned addresses (via ng-repeat), which will eventually be unhidden as a popup via Jquery UI.
So, the main issue is how to have the list-item populated via ng-repeat since the registration page is loaded before any data can populate the list item.
I have used ng-repeat to populate li's when the data existed already, but I'm confused about what to do in this situation when the data will be passed post-page load.