Hi, Thanks for the reply. But I don't get it to work. Maybe I am placing it wrong?
Could you also elaborate a bit on your suggestion to make feedSrc a parameter? Maybe as a fork of this http://codepen.io/anon/pen/rxOoNV I am still a beginner at angularjs/js so the obvious is not always obvious for me :) Den onsdag 16 december 2015 kl. 14:22:30 UTC+1 skrev Sander Elias: > > Hi Drisak, > > add those lines to your controller: > $scope.feedSrc = 'http://feeds.feedburner.com/TechCrunch'; > $scope.loadFeed(); > > Personally, I would make the feedSrc a parameter of the loadFeed function. > By doing that, you are less tightly bound to the controller. Also will it > make your program simpler to reason about. > > Regards > Sander > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
