在chrome里面调试时出现如下错误:XMLHttpRequest cannot load file:///E:/SublimeTest/zhuliukuangjia06/moviecat/app/in_theaters/view.html. Cross origin requests are only supported for protocol schemes: http, data,chrome, chrome-extension, https.
原因:chrome浏览器只能在http服务器端打开页面,不要在本地直接打开页面。可以换用火狐浏览器在本地打开。