Excellent, thanks. Now also realized that I could use ng-init <span ng-init="loadFeed($event, 'http://feeds.feedburner.com/TechCrunch');" ></span> To load one of the feeds as a default.
/Isak Den onsdag 16 december 2015 kl. 15:43:07 UTC+1 skrev Rafael Bernard Rodrigues Araujo: > > Drisak, sorry. This is the right one: > http://codepen.io/rafaelbernard/pen/pggxzg > > -- > Rafael Bernard Rodrigues Araújo > about.me/rafaelbernard > Analista de Tecnologia | Hospedagem de sites - http://oservidor.com > Technology Analyst | Website hosting - http://oservidor.com > > On Wed, Dec 16, 2015 at 12:39 PM, Rafael Bernard Rodrigues Araujo < > [email protected] <javascript:>> wrote: > >> Hi, Drisak. >> >> Here you go as a parameter in a function and working: >> http://codepen.io/anon/pen/EPPeBm >> >> Take care, >> >> -- >> Rafael Bernard Rodrigues Araújo >> about.me/rafaelbernard >> >> On Wed, Dec 16, 2015 at 12:27 PM, drisak <[email protected] <javascript:>> >> wrote: >> >>> 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 :) >>> >>> >>> >> > -- 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.
