# Progress bar Using IONIC FRAMEWORK

**URL:** <https://forum.ionicframework.com/t/progress-bar-using-ionic-framework/574>\
**Category:** ionic-v1\
**Created:** [January 18, 2014, 9:58am UTC](https://forum.ionicframework.com/t/progress-bar-using-ionic-framework/574 "2014-01-18T09:58:43Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![shunyaram](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/shunyaram/32/100155_2.png) [@shunyaram](https://forum.ionicframework.com/u/shunyaram)\
**Post date:** [January 18, 2014, 9:58am UTC](https://forum.ionicframework.com/t/progress-bar-using-ionic-framework/574/1 "2014-01-18T09:58:43Z")

</div>

PLEASE,

GIVE ME ANY WORKING LINK OR IDEA.  
WHICH I CAN IMPLEMENT FURTHER FOR PROGRESS BAR USING IONICFRAMEWORK.

NEED AN HELP @adam @Calendee @Ben, etc

---

<div class="post-metadata">

**Author:** ![WidawskiJ](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/widawskij/32/7606_2.png) [@WidawskiJ](https://forum.ionicframework.com/u/WidawskiJ)\
**Post date:** [January 18, 2014, 11:07am UTC](https://forum.ionicframework.com/t/progress-bar-using-ionic-framework/574/2 "2014-01-18T11:07:50Z")

</div>

[http://github.hubspot.com/pace/docs/welcome/](http://github.hubspot.com/pace/docs/welcome/)

You’re welcome

---

<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:** [January 18, 2014, 3:45pm UTC](https://forum.ionicframework.com/t/progress-bar-using-ionic-framework/574/3 "2014-01-18T15:45:54Z")

</div>

No ideas from me. @WidawskiJ Pace looks awesome.

---

<div class="post-metadata">

**Author:** ![WidawskiJ](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/widawskij/32/7606_2.png) [@WidawskiJ](https://forum.ionicframework.com/u/WidawskiJ)\
**Post date:** [January 18, 2014, 4:06pm UTC](https://forum.ionicframework.com/t/progress-bar-using-ionic-framework/574/4 "2014-01-18T16:06:24Z")

</div>

It is !

In fact you should/could use it as the loading standard in ionic, it works smoothly with angular, and is very customizable.

I’ll make a directive for angularJS with different loading theme if wanted !

---

<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:** [January 18, 2014, 4:59pm UTC](https://forum.ionicframework.com/t/progress-bar-using-ionic-framework/574/5 "2014-01-18T16:59:26Z")

</div>

@WidawskiJ Go for it. I’d love to see an integration.

---

<div class="post-metadata">

**Author:** ![adam](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/adam/32/63947_2.png) [@adam](https://forum.ionicframework.com/u/adam)\
**Post date:** [January 20, 2014, 3:39am UTC](https://forum.ionicframework.com/t/progress-bar-using-ionic-framework/574/6 "2014-01-20T03:39:03Z")

</div>

Yeah having a progress bar that can easily be customizable would be a good idea. However I will say I’d largely be just CSS for HTML5’s built-in progress element:  
[http://css-tricks.com/html5-progress-element/](http://css-tricks.com/html5-progress-element/) and some documentation of cool things you can do with it.

@Ben and @max, whatcha think?

---

<div class="post-metadata">

**Author:** ![shunyaram](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/shunyaram/32/100155_2.png) [@shunyaram](https://forum.ionicframework.com/u/shunyaram)\
**Post date:** [January 20, 2014, 4:18am UTC](https://forum.ionicframework.com/t/progress-bar-using-ionic-framework/574/7 "2014-01-20T04:18:15Z")

</div>

exactly true. I have found many urls with respect to progress bar finally i thought of using HTML5 built-in element

i.e.,

```
<progress max="100" value="50"> </progress>

```

---

<div class="post-metadata">

**Author:** ![h4ck3rviv3k](https://avatars.discourse-cdn.com/v4/letter/h/7feea3/32.png) [@h4ck3rviv3k](https://forum.ionicframework.com/u/h4ck3rviv3k)\
**Post date:** [March 2, 2014, 12:02pm UTC](https://forum.ionicframework.com/t/progress-bar-using-ionic-framework/574/8 "2014-03-02T12:02:13Z")

</div>

Hey Widawski i want to know how we can customize the ionic loading bar by changing its text written over it with some rotating bar as shown in the image below  
 ![](https://sea1.discourse-cdn.com/ionicframework/uploads/default/207/b8c34067361a8ceb.png)  
Ionic loading bar method to show loading :

show: function(opts) {  
var defaults = {  
content: ‘’,  
animation: ‘fade-in’,  
showBackdrop: true,  
maxWidth: 200,  
showDelay: 2000  
};

---

<div class="post-metadata">

**Author:** ![gkielwasser](https://avatars.discourse-cdn.com/v4/letter/g/4da419/32.png) [@gkielwasser](https://forum.ionicframework.com/u/gkielwasser)\
**Post date:** [March 2, 2014, 1:35pm UTC](https://forum.ionicframework.com/t/progress-bar-using-ionic-framework/574/9 "2014-03-02T13:35:00Z")

</div>

like this ?

```
.showLoading = function(message) {
  message = message || "Chargement";

  // Show the loading overlay and text
  $rootScope.loading = $ionicLoading.show({

    // The text to display in the loading indicator
    content: '<i class=" ion-loading-c"></i> '+ message,

    // The animation to use
    animation: 'fade-in',

    // Will a dark overlay or backdrop cover the entire view
    showBackdrop: true,

    // The maximum width of the loading indicator
    // Text will be wrapped if longer than maxWidth
    maxWidth: 200,

    // The delay in showing the indicator
    showDelay: 0
  });
};
```

---

<div class="post-metadata">

**Author:** ![h4ck3rviv3k](https://avatars.discourse-cdn.com/v4/letter/h/7feea3/32.png) [@h4ck3rviv3k](https://forum.ionicframework.com/u/h4ck3rviv3k)\
**Post date:** [March 3, 2014, 5:50am UTC](https://forum.ionicframework.com/t/progress-bar-using-ionic-framework/574/10 "2014-03-03T05:50:18Z")

</div>

Thanks a lot @gkielwasser it worked. 😄

---

<div class="post-metadata">

**Author:** ![freemain3](https://avatars.discourse-cdn.com/v4/letter/f/ac91a4/32.png) [@freemain3](https://forum.ionicframework.com/u/freemain3)\
**Post date:** [March 10, 2014, 7:34am UTC](https://forum.ionicframework.com/t/progress-bar-using-ionic-framework/574/11 "2014-03-10T07:34:24Z")

</div>

Hi @gkielwasser,

How can i apply css on image which is in Content tag.

content: "img src=“img/menu\_icon.png”

now i want to apply css on this image.can you tell me how it will done.

Thanks in adavance.

---

<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 10, 2014, 11:19am UTC](https://forum.ionicframework.com/t/progress-bar-using-ionic-framework/574/12 "2014-03-10T11:19:50Z")

</div>

I assume that `content: "img src="img/menu_icon.png"` is for going inside the loading indicator?

Have you tried something like:

```auto
content: '<img class="my-custom-class" ng-src="img/menu_icon.png"/>'

```

```auto
.my-custom-class {
  border : 1px solid black;
}

```

---

<div class="post-metadata">

**Author:** ![freemain3](https://avatars.discourse-cdn.com/v4/letter/f/ac91a4/32.png) [@freemain3](https://forum.ionicframework.com/u/freemain3)\
**Post date:** [March 12, 2014, 10:10am UTC](https://forum.ionicframework.com/t/progress-bar-using-ionic-framework/574/13 "2014-03-12T10:10:17Z")

</div>

Thanks @Calendee for your response.  
your code is working and even with the src tag we can display the image, i think no need of ng-src here.  
+1 for your answer.

---

<div class="post-metadata">

**Author:** ![freemain3](https://avatars.discourse-cdn.com/v4/letter/f/ac91a4/32.png) [@freemain3](https://forum.ionicframework.com/u/freemain3)\
**Post date:** [March 14, 2014, 7:20am UTC](https://forum.ionicframework.com/t/progress-bar-using-ionic-framework/574/14 "2014-03-14T07:20:28Z")

</div>

Hi @Calendee @gkielwasser i am implementing slide box in my project for that i have to apply header.  
For those i have refer same Demo as i have got in ionic demos.

i have used this code-

header-bar class=“bar bar-royal bar-header” left-buttons=“leftButtons” right-buttons=“rightButtons”

```
                    <h1 class="title" style="margin-left: 50px !important; padding: 0 !important; margin-right: 50px !important;"><img src="img/logo_icon.png" style="margin-top: 13.5px;margin-bottom: 13.5px;"></a></h1>

                </header-bar>

```

in this i m trying to put this image in my center of the header.

so can you tell me how it will done?

Thanks in advance.

---

<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 14, 2014, 12:22pm UTC](https://forum.ionicframework.com/t/progress-bar-using-ionic-framework/574/15 "2014-03-14T12:22:59Z")

</div>

FYI : Ion Refresher is updated and allows different content and loading indicators

> [@Breaking Change : Ion Refresher (Pull To Refresh)](http://forum.ionicframework.com/t/breaking-change-ion-refresher-pull-to-refresh/1778):
>
> In order to support new functionality for the pull to refresh feature, the nightlies have a breaking change. If you are using pull to refresh, you must change your code. Old : \<ion-content on-refresh="onRefresh()" on-refresh-opening="onRefreshOpening()"\> \<ion-refresher\>\</ion-refresher\> \</ion-content\> New: \<ion-content\> \<ion-refresher on-refresh="onRefresh()" on-pulling="onRefreshOpening()"\> \</ion-refresher\> \</ion-content\> Here is a working sample: [http://codepen.io/ionic/pen/mq…](http://codepen.io/ionic/pen/mqolp)

---

<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 14, 2014, 12:25pm UTC](https://forum.ionicframework.com/t/progress-bar-using-ionic-framework/574/16 "2014-03-14T12:25:09Z")

</div>

You might want to open a new topic next time to keep them restrained to a specific issue.

Here’s how you do that:

```auto
<ion-view title="navTitle" left-buttons="leftButtons" right-buttons="rightButtons" hide-back-button="true" class="bubble-background">

```

```auto
$scope.navTitle='<img class="title-image" src="images/your-image-name-here.png" />';

```

---

<div class="post-metadata">

**Author:** ![freemain3](https://avatars.discourse-cdn.com/v4/letter/f/ac91a4/32.png) [@freemain3](https://forum.ionicframework.com/u/freemain3)\
**Post date:** [March 18, 2014, 2:24pm UTC](https://forum.ionicframework.com/t/progress-bar-using-ionic-framework/574/17 "2014-03-18T14:24:56Z")

</div>

Thanks @Calendee for your response.I applied what you suggested but its still not working, when i am replacing header tag to ion-view than header is displaying but leftbutton and rightbutton is not [showing.So](http://showing.So) can you tell me which part i am implementing wrong.

Thanks in advance.

---

<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 18, 2014, 4:39pm UTC](https://forum.ionicframework.com/t/progress-bar-using-ionic-framework/574/18 "2014-03-18T16:39:00Z")

</div>

Please open a new topic as this was all about the Progress bar.

---

<div class="post-metadata">

**Author:** ![jrunfitpro](https://avatars.discourse-cdn.com/v4/letter/j/82dd89/32.png) [@jrunfitpro](https://forum.ionicframework.com/u/jrunfitpro)\
**Post date:** [March 8, 2017, 3:43pm UTC](https://forum.ionicframework.com/t/progress-bar-using-ionic-framework/574/19 "2017-03-08T15:43:50Z")

</div>

Can the progress bar be used like the apple health rings?

---

<div class="post-metadata">

**Author:** ![jrunfitpro](https://avatars.discourse-cdn.com/v4/letter/j/82dd89/32.png) [@jrunfitpro](https://forum.ionicframework.com/u/jrunfitpro)\
**Post date:** [March 10, 2017, 12:26am UTC](https://forum.ionicframework.com/t/progress-bar-using-ionic-framework/574/20 "2017-03-10T00:26:11Z")

</div>

Anyway to make that into a circle or ring?

[Next page](https://forum.ionicframework.com/t/progress-bar-using-ionic-framework/574.md?page=2)
