angular directive that grows or shrinks text to fit in a fixed-size element
From the command line:
bower install auto-font-size
From the bower.json file
{
"...
"dependencies": {
"auto-font-size": "0.0.8"
},
...
}
In your html
<script type="text/javascript" src="bower_components/auto-font-size/dist/auto_font_size.js"></script>
or
<script type="text/javascript" src="bower_components/auto-font-size/dist/auto_font_size.min.js"></script>
requires angular