typically, I use chrome dev tools. They are pretty powerful once you get a
hang of what's going on.

e

On Tue, Sep 30, 2014 at 11:29 AM, Esau <[email protected]> wrote:

> That might be the issue. Thanks for writing that out!
>
> With that said, is there a better way of debugging without relying on
> Chrome or Firefox Developer Tools? Anything that I can use to step through
> the code?
>
> On Friday, September 26, 2014 9:43:17 PM UTC-7, Eric Eslinger wrote:
>>
>> It would help if you posted some code, but generally speaking the problem
>> is like:
>>
>> $http.get(URL).then(function(data){$scope.potato = data;
>> console.log(data);});
>> console.log($scope.potato);
>>
>> The log of $scope.potato returns undefined, the console.log(data) comes
>> out fine. But it happens *after* the call log of $scope.potato.
>>
>> It may not be this problem, but 95% of the time when you're having
>> trouble getting data out of a backend, this is the problem. Chrome doesn't
>> help much here- sometimes when you log a json object, and then that object
>> is later updated in an async call, it looks like it was logged with later
>> values, if that makes sense.
>>
>> e
>>
>>
>>
>>
>>
>>
>>
>> On Fri, Sep 26, 2014 at 5:33 PM, Esau <[email protected]> wrote:
>>
>>> That's odd that the browser presents it this way showing data already
>>> filled in the object as if all the data is ready to be used. That would
>>> mean that the data has already come through, so what other wait is there?
>>>
>>>
>>> On Friday, September 26, 2014 1:52:41 PM UTC-7, Esau wrote:
>>>>
>>>>
>>>> <https://lh6.googleusercontent.com/-a1lt8OMBxyA/VCXR3HnQhwI/AAAAAAAAAPY/WSfx-dwIuD4/s1600/sessionCannotAccess.jpg>
>>>> Here's the screenshot. In the console.log() I display the Session
>>>> factory and this is what it shows. I try to access the value login by doing
>>>> Session.login, however, it just shows undefined when doing console.log().
>>>> Anyone know why I cant access the values?
>>>>
>>>>  --
>>> 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/d/optout.
>>>
>>
>>  --
> 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/d/optout.
>

-- 
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/d/optout.

Reply via email to