Added getting json from server by $http.get()