About:
This is an ionic-letter-avatar
bower component which can be used with any Ionic framework’s application for letter avatar like gmail/inbox
Quick start
-
Install
bower install ionic-letter-avatar --save
run the above bower command on the application folder to get the component.
-
Add ionic-letteravatar.js file to application
include the of ionic-letteravatar.js in your index.html file.
<!-- path to ionic/angularjs js --> <script src="lib/ionic-letteravatar/ionic-letteravatar.js"></script>
-
In your application module inject the dependency ionic-letter-avatar.
javascript
angular.module(‘mainModuleName’, [‘ionic’, ‘ionic-letter-avatar’]){
}
NO NEED TO INJECT in controller directly use in html. -
Rendering
<ionic-letter-avatar data="a"></ionic-letter-avatar>
License:
MIT
Contact:
gmail : uttesh@gmail.com
profile : http://www.uttesh.com
github : uttesh (uttesh) · GitHub