Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/475.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript angularjs+;多页jquery移动范围问题_Javascript_Angularjs_Jquery Mobile_Scope_Url Routing - Fatal编程技术网

Javascript angularjs+;多页jquery移动范围问题

Javascript angularjs+;多页jquery移动范围问题,javascript,angularjs,jquery-mobile,scope,url-routing,Javascript,Angularjs,Jquery Mobile,Scope,Url Routing,我需要使angularjs和jquery mobile在移动应用程序中共存,并将路由逻辑留给jquery mobile(即不使用ngRoute模块,而是使用jquerymobile的ajax dom注入) 如果我使用jquerymobile的单页模板,范围就没有问题,但如果我通过ajax打开外部html页面,似乎angular的范围就变小了 以下是片段:

我需要使angularjs和jquery mobile在移动应用程序中共存,并将路由逻辑留给jquery mobile(即不使用ngRoute模块,而是使用jquerymobile的ajax dom注入)

如果我使用jquerymobile的单页模板,范围就没有问题,但如果我通过ajax打开外部html页面,似乎angular的范围就变小了

以下是片段: