Wikipedia Viewer data binding question

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


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

Thanks for your reply. Will check it out.