Oh, that makes sense.

Out of curiousity, how can I use $http to simplify this because I receive 
the same types of errors when I use the following:

.factory(DepositCount, ['$http', function ($http) {
    return $http.get('./count.json').success(function(response) {
        return response.data;
    }
}]);

On the AngularJS site I see examples using success() callback and others 
using then(). Confused about the documentation.

On Friday, January 3, 2014 5:13:00 AM UTC-6, Sander Elias wrote:
>
> Hi,
>
> There was noting bad in your data, but if you feed plotr incomplete data, 
> it crashes. Had to put in a check for that.
>
> Regards
> Sander
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to