# $ionicLoading without any text, just animated icon

**URL:** <https://forum.ionicframework.com/t/ionicloading-without-any-text-just-animated-icon/2190>\
**Category:** ionic-v1\
**Created:** [March 24, 2014, 5:02pm UTC](https://forum.ionicframework.com/t/ionicloading-without-any-text-just-animated-icon/2190 "2014-03-24T17:02:56Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![hanthomas](https://avatars.discourse-cdn.com/v4/letter/h/ea5d25/32.png) [@hanthomas](https://forum.ionicframework.com/u/hanthomas)\
**Post date:** [March 24, 2014, 5:02pm UTC](https://forum.ionicframework.com/t/ionicloading-without-any-text-just-animated-icon/2190/1 "2014-03-24T17:02:56Z")

</div>

Is there a way to make $ionicLoading display with just an animated icon (e.g. - spinning wheel). I can sorta make it work by adding a html content to show the icon. But, it still displays the box around it.

---

<div class="post-metadata">

**Author:** ![Calendee](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/calendee/32/13656_2.png) [@Calendee](https://forum.ionicframework.com/u/Calendee)\
**Post date:** [March 25, 2014, 1:12pm UTC](https://forum.ionicframework.com/t/ionicloading-without-any-text-just-animated-icon/2190/2 "2014-03-25T13:12:15Z")

</div>

What version of Ionic are you using?

You might also want to look at this : [http://codepen.io/ionic/pen/pEter](http://codepen.io/ionic/pen/pEter)

Andy did some neat stuff with that.

---

<div class="post-metadata">

**Author:** ![hanthomas](https://avatars.discourse-cdn.com/v4/letter/h/ea5d25/32.png) [@hanthomas](https://forum.ionicframework.com/u/hanthomas)\
**Post date:** [March 28, 2014, 2:40am UTC](https://forum.ionicframework.com/t/ionicloading-without-any-text-just-animated-icon/2190/3 "2014-03-28T02:40:04Z")

</div>

I waited till beta 1 was released before I commented. But, the same behavior exists. You can see what I’m trying to do here:

https://codepen.io/hanthomas/embed/preview/AlEnr?height=300&slug-hash=AlEnr&default-tabs=html,result&host=https://codepen.io

Notice the black box around the icon. If there’s no text, I would rather it display just the icon without the box. Ideally, it would be nice if I could just specify the name of the icon or its corresponding class name.

---

<div class="post-metadata">

**Author:** ![Calendee](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/calendee/32/13656_2.png) [@Calendee](https://forum.ionicframework.com/u/Calendee)\
**Post date:** [April 2, 2014, 11:21am UTC](https://forum.ionicframework.com/t/ionicloading-without-any-text-just-animated-icon/2190/4 "2014-04-02T11:21:39Z")

</div>

I re-opened an issue that was supposed to solve it. The problem is that the `.loading` class effectively it’s own backdrop.

> <https://github.com/ionic-team/ionic/issues/837>
>
> As in topic
> Here's example: http://codepen.io/piernik/pen/BDClo/

---

<div class="post-metadata">

**Author:** ![vamshi](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/vamshi/32/7344_2.png) [@vamshi](https://forum.ionicframework.com/u/vamshi)\
**Post date:** [December 8, 2014, 2:11pm UTC](https://forum.ionicframework.com/t/ionicloading-without-any-text-just-animated-icon/2190/5 "2014-12-08T14:11:14Z")

</div>

I was redirected here form an ionicforum post where I can’t see the text but only the ionic loading icon. But i don’t seem to find right solution.

For me, backdrop is working fine. but not seeing my message ‘fetching images’ though I give content as ’ Fetching images’

Following is my code

```auto
$scope.show = function(message){
      $scope.loading = $ionicLoading.show({
          content: '<i class="ion-loading-c"></i> '+ message,
          animation: 'fade-in',
          noBackdrop: false,
          maxWidth: 200,
          showDelay: 500
      });
  }

```

I see only that small loading icon with dimmed screen but not my message ☹

---

<div class="post-metadata">

**Author:** ![Calendee](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/calendee/32/13656_2.png) [@Calendee](https://forum.ionicframework.com/u/Calendee)\
**Post date:** [December 9, 2014, 1:05am UTC](https://forum.ionicframework.com/t/ionicloading-without-any-text-just-animated-icon/2190/6 "2014-12-09T01:05:53Z")

</div>

I’m not sure which release of Ionic you are using (nightly or Beta 13). However, I don’t think `content` is an option for the loading indicator in either case. Perhaps you wanted `template` ?

[http://ionicframework.com/docs/api/service/$ionicLoading/](http://ionicframework.com/docs/api/service/%24ionicLoading/)

---

<div class="post-metadata">

**Author:** ![danielhuhn](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/danielhuhn/32/91178_2.png) [@danielhuhn](https://forum.ionicframework.com/u/danielhuhn)\
**Post date:** [September 12, 2015, 10:46am UTC](https://forum.ionicframework.com/t/ionicloading-without-any-text-just-animated-icon/2190/7 "2015-09-12T10:46:26Z")

</div>

For the latest ionic version this works for me:

```
$ionicLoading.show({
  template: '<ion-spinner></ion-spinner>'+
            '<p>Login ...</p>'
});
```
