angularjs reddit clone with firebase backend