<li class ="block" ng-repeat="i in items | searchFor:searchString" id={{i.title}}>
<a><img class="gallery" id={{i.title}} ng-src="{{i.image}}" title="{{i.title}}" /></a>
<a href="{{i.image}}" download><button id="eye" title="Preview"></button></a>
<p>{{i.title}}</p>
</li>
项目列表无法识别的表达错误?
$scope.items = [
{
url: '#',
title: 'Mountain',
image: 'https://images.unsplash.com/photo-1443890923422-7819ed4101c0'
}];
这将引发错误
jquery.min.js:2 Uncaught Error: Syntax error, unrecognized expression: https://images.unsplash.com/photo-1443890923422-7819ed4101c0
?以及哪个版本的angularjs –
Iam使用2.1.1 – anderson
那么,这似乎满足角1.3的最低jquery要求...我接受它,因为我问两个产品的版本(jQuery和angularjs),您的答案指的是jquery的版本,我应该只是“猜测”你正在使用角度的稳定版本 –