@{
    ViewData["Title"] = "Home Page";
}

<cache vary-by="@Context.Request.Path">
    <app asp-prerender-module="wwwroot/ng-app/boot-server">Loading...</app>
    @await Html.PrimeCache(Url.Action("GenreMenuList", "GenresApi"))
    @await Html.PrimeCache(Url.Action("MostPopular", "AlbumsApi"))
</cache>

@section scripts {
    <script src="~/lib/angular2/bundles/angular2-polyfills.js"></script>
    <script src="~/lib/traceur/bin/traceur-runtime.js"></script>
    <script src="~/lib/es6-module-loader/dist/es6-module-loader-sans-promises.js"></script>
    <script src="~/lib/systemjs/dist/system.src.js"></script>
    <script src="~/system.config.js"></script>
    <script src="~/lib/rxjs/bundles/Rx.js"></script>
    <script src="~/lib/angular2/bundles/angular2.dev.js"></script>
    <script src="~/lib/angular2/bundles/router.dev.js"></script>
    <script src="~/lib/angular2/bundles/http.dev.js"></script>
    <script src="~/lib/angular2-aspnet/bundles/angular2-aspnet.js"></script>
    <script>System.import('./ng-app/boot-client');</script>
}
