摘要: 作者:猫爱吃鱼不吃耗子链接:https://www.zhihu.com/question/26376773/answer/32574565来源:知乎ajax或者iframe指向的地址中,二级域名、端口、协议必须与主页面完全相同,否则就算跨域比如a.baidu.com访问b.baidu.com 是跨... 阅读全文
posted @ 2016-01-08 14:46 Kntro 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 1.ng-controller属性为function的支持问题:测试代码如下: {{value}}测试结果:1.3.0之后的版本,不支持ng-controller的属性为function.提示:网上的教程Angularjs的版本多为1.0... 阅读全文
posted @ 2016-01-08 14:32 Kntro 阅读(147) 评论(0) 推荐(0) 编辑