Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

etodanik/ion-profile-picture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEPRECATED

This repository has been deprecated and will not be maintained.

ion-profile-picture

A nice little directive for a profile picture selector

Animated demo

#Installation

Installation should be dead simple, you can grab a copy from bower:

bower install ion-profile-picture

Or clone this repository.

You'll need to add ion-profile-picture as a dependency on your Ionic app:

angular.module('myApp', [
  'ionic',
  'ion-profile-picture'
]);

That's pretty much it. Now you can use the directive like so: <ion-profile-picture ng-model="myPicture" />

$scope.myPicture will contain the Base64 contents of the selected image file, from there you can $watch it, or pretty much do anything you want. You can set the image concents directly by storing them in the ng-model variable.

About

A nice little directive for a profile picture selector

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published