AngularJS Gravatar email profile picture Controller

1
2
var ajinkyaApp = angular.module('ajinkyaApp', []);
ajinkyaApp.controller('EditProfileController', function($scope){
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
to use it in ur ng-app="ajinkyaApp " > ng-controller="EditProfileController"

<input type="email" name="email" ng-model="useremail">

<img ng-src="{{ getGravatarUrl(useremail) }}">

1 Response

to use it in ur ng-app="ajinkyaApp " > ng-controller="EditProfileController"



Write a comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.