vendredi 3 avril 2015

Run an angular directive inside other javascript framework template

I'm porting an angular application to ember.js for learning purposes. Inside our project we use a custom angular module we created via a directive.


Since porting that component will take a lot of time and I wanted to start from the frontend application, I want to be able to render an angular directive inside an ember component/template and pass a variable to this directive.


A non working example could be found here and as you can see I wanted to be able to use a directive from an ember template.


If it's not possible by template it would be ok too to render it via javascript.





Aucun commentaire:

Enregistrer un commentaire