hughred22 / YouTube-Video-Listing-Ionic-Mobile-App

A hybrid mobile app build with Ionic Framework, AngularJS and YouTube API V3.
91 stars 37 forks source link

Multiple youtube channel #3

Closed abdallahmayuto closed 8 years ago

abdallahmayuto commented 8 years ago

How can I load videos from different youtube channel and display them in different menu?!

hughred22 commented 8 years ago

It is actually very easy. You can use UI-ROUTER to create different states for different YouTube channels. Then in each state with its own controller, just replace the scope.youtubeParams to that channel IDs. You can also put the common codes in a factory so you don't repeat yourself. I am writing v3 tutorial for that as well.