2015-07-11 76 views

回答

0

Foundation for Apps框架使用ui-router。因此,要訪問路由器狀態信息(例如當前路由/頁面的名稱),請在HTML模板中使用以下內容:

{{$state.current.name}}