Với cấu trúc url này (mà tôi không có quyền kiểm soát), làm cách nào tôi có thể truy xuất đoạn băm bằng Angular2?Lấy mẩu băm từ url bằng Angular2
http://your-redirect-uri#access_token=ACCESS-TOKEN
router của tôi không đường với thành phần chính xác, nhưng tất cả mọi thứ sau oauth
được loại bỏ và tôi không thể tìm thấy những mảnh vỡ băm trong Request.Params hoặc location.path. Doomed ??
Router cấu hình:
@RouteConfig([
{path: '/welcome', name: 'Welcome', component: WelcomeComponent, useAsDefault: true},
{path: '/landing/oauth', name: 'Landing', component: LandingComponent} // this one
])