[英]FOSRestBundle “avoid” Javascript eventListener
I am trying to create a simple CRUD application by using Symfony and AngularJs, My problem is as describe here: 我正在尝试通过使用Symfony和AngularJs创建一个简单的CRUD应用程序,我的问题如下所述:
Trying to use $compileProvider, CRUD and bootstraped directive ng-clink failed 尝试使用$ compileProvider,CRUD和引导指令ng-clink失败
When I m trying to load my template (the whole forms without compile) by using : 当我尝试使用以下方式加载模板(无需编译的整个表单)时:
{{ render(controler('App:getTemplate',{parameters})) }}
when I try whithout rendering it work well and I need to change my template dynamically. 当我尝试不渲染时,效果很好,我需要动态更改模板。
My event listener does not apear over my angularJs diverctives, may this problem apear with FOSRestBundle which may avoid javascript? 我的事件监听器没有出现在我的angularJs分支上,FOSRestBundle可能会出现这个问题,这可以避免使用JavaScript?
My mistaque was in my form declaration 我的错字在我的表格声明中
symfony with angular form layout as default theme, like that : symfony以角形布局作为默认主题,例如:
error : 错误:
ng-model='data['{{ full_name }}']'
soluce ; 自发;
ng-model='data["{{ full_name }}"]'
That was stressful 那很压力
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.