Moved posts to a factory and injected it into MainCtrl
Merge pull request #4 from michaelanthonymain/angular-services

Moved posts to a factory and injected it into MainCtrl