Skip to content

Instantly share code, notes, and snippets.


K. Siva Prasad Reddy sivaprasadreddy

Block or report user

Report or block sivaprasadreddy

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
sivaprasadreddy / gist:e1d0c34d418195a682d01a0dc63c2b6d
Created Feb 24, 2019 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup
View gist:e1d0c34d418195a682d01a0dc63c2b6d


:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
sivaprasadreddy / angularjs-filters.html
Created Sep 15, 2014
AngularJS filters final HTML
View angularjs-filters.html
<!DOCTYPE html>
<html ng-app="myApp">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>My AngularJS App</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="//" rel="stylesheet" type="text/css"/>
View index-links.html
View contacts-1.html
<table class="table table-striped table-bordered table-hover">
<tr ng-repeat="contact in contacts">
<td>{{contact.firstname + ' '+ (contact.lastname || '')}}</td>
View app-1.js
var myApp = angular.module('myApp',['ngRoute']);
function($routeProvider, $locationProvider) {
.when('/home', {
templateUrl: 'templates/home.html',
controller: 'HomeController'
.when('/contacts', {
View Contact-Service-Ctrl.js
myApp.service('ContactService', ['$http',function($http){
this.getContacts = function(){
var promise = $http.get('contacts')
return promise;
public class Person implements Serializable
private static final long serialVersionUID = 1L;
@Id @GeneratedValue(strategy=GenerationType.AUTO)
private Integer id;
private String email;
private String password;
private String firstname;
private String lastname;
View TodoController-1.js
myApp.controller('TodoController', [ '$scope', 'TodoService', function ($scope, TodoService) {
$scope.newTodo = {};
$scope.loadTodos = function(){
success(function(data, status, headers, config) {
$scope.todos = data;
View TodoService-1.js
var myApp = angular.module('myApp');
myApp.factory('TodoService', function($http){
return {
loadTodos : function(){
return $http.get('todos');
createTodo: function(todo){
return $'todos',todo);
View provider-service.js
.provider('UserService', function() {
return {
this.$get = function($http) {
var service = this;
this.user = {};
this.login = function(email, pwd) {
$http.get('/auth',{ username: email, password: pwd}).success(function(data){
service.user = data;
You can’t perform that action at this time.