added $http to controller dependencies. Fixed $http not defined. Datastore works! Dev console so good