Wikipedia Viewer data binding question

Wikipedia Viewer data binding question
0

#1

Hello fellow campers!!

Im currently working with the Wikipedia Viewer challenge and its going ok so far. But, i have a question regarding data binding using ng-repeat (AngularJS). The thing is, when i click the button it doesn’t change the view but only after i modify the text block input. Is there a way to make the change happen in a dynamic way?

Here is my Wikipedia Viewer CodePen

Thanks for your time,
Brian


#2


The accepted answer solves your problem. Note to include $scope in your controller callback.


#3

Thanks for your reply. Will check it out.