Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data binding source? #46

Open
tomercagan opened this issue Jul 21, 2016 · 1 comment
Open

Data binding source? #46

tomercagan opened this issue Jul 21, 2016 · 1 comment

Comments

@tomercagan
Copy link

Hi,

Is there a ready-made way to use data-binding and not work through the video service in my controller?

I am looking for a way to do something like this:

<div ng-repeat="post in timelinePosts">
    <div class="video-container">
        <section class="video" ng-video video-source="someControllerPropertyOrMethod">
            <video vi-screen></video>
        </section>
    <div>
<div>

I guess this whole thing (the inner div) could be encapsulated in a directive but I was wondering if there is a ready made one or an example of how to accomplish that (I'm js/angular noob).

Thanks,

Tomer

@nidzola-nikolaz
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants