3
我想使用router.go重定向將參數發送到我的控制器。Angular Dart - 使用router.go將數據發送到控制器
我嘗試這樣做:
this._router.go('game', {'data': 'myData'});
是否有可能得到的參數,如認爲:
GameController(this._scope, this._router){
print(this._router.parameters['data']);
}
如果我想在 「打印」 的是,它返回null。