Skip to content

Instantly share code, notes, and snippets.

View smorcuend's full-sized avatar
🎯
Focusing

Sergio Morcuende smorcuend

🎯
Focusing
View GitHub Profile
@smorcuend
smorcuend / gist:c6d60d339881ebb2e48d
Last active August 29, 2015 14:27 — forked from Mithrandir0x/gist:3639232
Difference between Service, Factory and Provider in AngularJS
// Source: https://groups.google.com/forum/#!topic/angular/hVrkvaHGOfc
// jsFiddle: http://jsfiddle.net/pkozlowski_opensource/PxdSP/14/
// author: Pawel Kozlowski
var myApp = angular.module('myApp', []);
//service style, probably the simplest one
myApp.service('helloWorldFromService', function() {
this.sayHello = function() {
return "Hello, World!"

Awesome PHP

A list of amazingly awesome PHP libraries, resources and shiny things.

Composer

Composer Related