show loading icon in angularjs


I am using angular material design and angularjs frameworks in my application.I am showing loading icon when a service/function is called in the page/screen.In desktop web browser i am getting cursor icon (spinning) along with loading icon when a service/function is called.The  loading icon disapears after 5 to 10 seconds once  it gets data but the problem is cursor icon (spinning) stays on the screen and will not change  to normal cursor until we physically move the cursor.How could  I change cursor icon (spinning)  to normal cursor  after loading icon disappears (fetching data is completed) automatically.

I currently have the code like this

<md-progress-circular class="md-hue-2 md-busy" md-mode="indeterminate" style="margin:auto"></md-progress-circular>

Open in new window

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mccarlIT Business Systems Analyst / Software DeveloperCommented:
By "cursor icon" do you mean the mouse cursor? I didn't think md-progress-circular did anything to the mouse cursor, just the icon on the page where you place it. If you don't mean the mouse, can you please elaborate what you mean by "cursor icon" and "loading icon".

Also, can you show the code that triggers the progress indicator when your service/function is called?
ksd123Author Commented:
cursor icon means mouse cursor, the mouse cursor spins along with loading icon and even after loading icon disappears ( is loaded) but mouse cursor continuously spins until user interaction.

padding-top:0 !important;
margin-botton:0 !importan;

Open in new window

mccarlIT Business Systems Analyst / Software DeveloperCommented:
Also, can you show the code that triggers the progress indicator when your service/function is called?
Can you answer this other question that I asked too?
ksd123Author Commented:

The issue is resolved by updating  Angular material design.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ksd123Author Commented:
My issue is resloved by updating angular material design to latest release.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.