ngFont

AngularJS Font Fetching Module from Google Fonts

Added by: Sam Deering

GitHub

Repository

mdtanrikulu/ngfont

Stats

Stars: 0

Watchers: 0

Forks: 0

Author

Mdtanrikulu
Mdtanrikulu

Module Description

ngFont

ngFont is an AngularJS module that fetching and using Google Fonts quickly. It requires angular-load.

Current Version 0.0.1

Demo

Getting Started

Install using bower:

bower install --save ng-font


Add js file to main html page

 <script src="path/of/file/ngFont.js"></script>


Call module to app:

 angular.module('myApp', ['ngFont']);


Call as "ng-font" in the area you want to use, and enter the name of the font you want to use from Google Fonts:

 <span ng-font font="Lobster"> Lorem ipsum dolor sit amet </span>

Additional Options


 size="30pt" 
 bold
 italic
 oblique
 shadow="2px 2px 2px #ccc" 
 opacity="0.5" 
 left
 center
 right
 
 <div ng-font font="Lobster" size="90%" italic right> Lorem ipsum dolor </div>

Module stats last updated: 2015-04-19 02:58:42

Disclaimer: Some data on this page may have been gathered from the authors GitHub respository. If you see any mistakes or outdated information please let us know. Thanks!