added $http dependency to all controllers.