1
我对角度很陌生,一直在做一些基本的东西。MVC Razor内的Angularjs
我试图将一些视图中使用的角度和我被困
能有人帮助,我怎么会做以下采用了棱角分明
<a href="@Url.Action("Details","Home",new { propertyID=item.RentalID,PropertyType="Rentals" })"><img data-original="img/property/pic (2).jpg" alt="@item.Description" src="@Url.Action("GetImage", "Home", new { id = item.RentalID })" class="img-hover"></a>
我想repleace的“项目”与数据中继{{i.Item}}例如
我已经试过这一点,但它不会工作
<a href="@Url.Action("Details","Home",new { propertyID={{i.RentalID}},PropertyType="Rentals" })"><img data-original="img/property/pic (2).jpg" alt="{{i.Description}}" src="@Url.Action("GetImage", "Home", new { id = {{i.RentalID }}})" class="img-hover"></a>
谢谢,我如何在角度做到这一点:@ {Html.RenderAction(“getCityByName1”,“Home”,new {id = item.CityID});} – kayze 2015-02-07 10:36:51