js在切換分頁時轉址用$window，details.html則是刪掉了多寫的<div ng-app>