我正在使用//This gives you the user count using the count function which returns and integer of the exact rows returned from the query.
$this->data['user_count'] = count($this->user_model->getUsers());
//This gives you the returned result array.
$this->data['users'] = $this->user_model->getUsers();
函数手动加载Angular模块。我能够检索该模块,对其进行编译并从中获得注入器。
当我尝试从已加载的模块中加载路由时,我仅获得AppModule的路由,而不是已加载模块的路由。
SystemJS.import()
知道为什么会这样吗?
谢谢