Working with NG-YouTube-Embed

Hi Friends,

Just thought to share one new module around YouTube from Angular. This functionality is basically for embedding any Video to your site using angular.

Below is the bower command to install the component on your side.

bower install ng-youtube-embed. Once, you installed the components successfully. Then, you need to reference the same on index page as shown below.

Then, you need to add the same in dependencies as shown below.

Then, need to put the same in controller as shown below.

Last, but the not the least, template change

Then, with the above change in place, it will produce the desired result as shown below in the screen shot.

1st

Thanks for Joining Me!

Thanks,
Rahul Sahay
Happy Coding

2,510 total views, 1 views today