Ionic-letter-avatar : component for the ionic framework applications


#1

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

Codepen Demo page

Git Demo Page

Git Repository

Quick start

  1. Install

    bower install ionic-letter-avatar --save

    run the above bower command on the application folder to get the component.

  2. 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>
  1. 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.

  2. Rendering

<ionic-letter-avatar data="a"></ionic-letter-avatar>

License:
MIT

Contact:
gmail : uttesh@gmail.com

profile : http://www.uttesh.com

github : https://github.com/uttesh