Decoupling AngularJs Using Providers

Decoupling AngularJs Using Providers Code samples at: https://gist.github.com/squirly/630f891941bef45bb0f1