Based on the technique used at http://fromanegg.com/post/41302147556/100-pure-css-radial-progress-bar
- Open bower.json
- Add
"orbicular": "~1.0.0"
to your dependency list - Run
bower install
- In your application you can now add:
<script src="bower_components/orbicular/orbicular/orbicular.js"></script>
- Copy the SCSS files into your project
- Customise the styles using
_orbicular_config.scss
- Customise the styles using
- The circle size is based on the parent elements width.
Create your progress element:
<orbicular progress="downloaded" total="size">Text in the circle</orbicular>
Where $scope.downloaded
and $scope.size
are the variables used in the example to track the progress of a download.