last day (14 days later) » 

07:53
hey
hi. can you put the code you have now in a pastebin
of course you can do unlisted
note that even $scope.formBusy = false is not being picked up so my form stays dimmed (busy looking)
when you log from inside the $q.all callback, do you see that output?
in other words, is it resolving?
if i alert a string from there (q.all callback) it will fire
but if i console.log ($scope.c) it's undefined
how about when you log scope.c just after $scope.c = data; in the first promise
or even better after the foreach loop
08:05
hmm
before the loop it give me object
after the loop, nothing, not even undefined
maybe the foreach is not necessary
interesting
i just commented out that loop and
the damned thing is shown as supposed
let me see if
it will misfire
it could make sense, if you're setting $scope.c to data, which may not be an array
works nice... i have the same service and the same directive but in another controller (without $q.all applied) so i'll do the same there and see
and if it isn't an array, you try to push to it in the loop
cool. yeah it should do the trick but let me know. for now, going to bed because it's late here.
with $q.all not a single misfire ( i called it like that, makes sense to me)
the other one - misfires occasionally like before
awesome
08:11
(with the loop commented out)
so i'd say you solved the problem :)
haha. good. sorry i had you make the demo. in the end i just had to read your question a 5th or 6th time
thank you. good night, i will accept your answer
great. thanks. glad it worked. good luck on the rest of your project
good night

last day (14 days later) »