E
E
Eugene Alitz2017-01-13 09:34:08
JavaScript
Eugene Alitz, 2017-01-13 09:34:08

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

1 answer(s)
A
Alexander Belov, 2017-01-13
@psycura

The function does nothing. Change to
this.getCards = function (list) {
return cardFactory.getCards(list);
};

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question