Answer the question
In order to leave comments, you need to log in
Problem with ng-repeat?
Good afternoon.
I'm trying to repeat the video tutorial from monsterlessons about creating a trello clone in angular.
I ran into a problem - when a list of cards is not displayed inside the sheet, here is the codepen.io/psycura/pen/egzpBR
code
in html lines 26-30
in js lines 74-77,
and if I insert console.log into the getCards function itself, then the list of objects is displayed in console,
but in html for some reason ng-repeat does not work out
What did I not take into account?
Thanks
Answer the question
In order to leave comments, you need to log in
The function does nothing. Change to
this.getCards = function (list) {
return cardFactory.getCards(list);
};
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question