Working on making $http a factory service