나는 오차드로 웹 사이트를 만들고 있습니다. AngularJS를 사용하면 ASP.NET 웹 API 프로젝트에서 데이터를 읽고 웹 사이트에 데이터를 표시하고 있습니다. 내가하고 싶은 것은 페이지의 제목과 메타 데이터를 표시하는 것입니다.과수원 CMS에 동적으로 제목을 추가하십시오.
나는 제목이 시도했다, 그러나 나는 다음과 같은 오류가 발생합니다 :
<div ng-controller="bookDetailController" data-ng-init="AddReaded()" ng-cloak>
@{
Layout.Title = {{book.Title}};
}
이제까지 프론트 엔드의 변화를 알 수 없습니다, 그래서 면도기는, 서버 측에서 컴파일Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0820: Cannot initialize an implicitly-typed local variable with an array initializer
면도기는 서버 측에서 컴파일, 그래서 이제까지 변경 알 수 없습니다 프론트 엔드에. – devqon