Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide elements until loaded #8

Open
bennypowers opened this issue Mar 8, 2016 · 0 comments
Open

Hide elements until loaded #8

bennypowers opened this issue Mar 8, 2016 · 0 comments

Comments

@bennypowers
Copy link

I'm trying to use angular-loading-spinner as a replacement for ng-cloak I want to hide my form until the data is loaded, but display a spinner until that point.

Right now I'm doing
`

` This results in three loading stages: 1) before ajax begins: I see {{angular data}} on the page 2) Ajax begins, result not back yet: form hidden, spinner shown 3) ajax finished: complete form shown, spinner hidden.

What I want is

  1. form hidden, spinner shown
  2. "
  3. spinner hidden form shown

How can I achieve that?

Thanks for the great directive!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant