template parse not known item icon errors component card ionic2 ionic-cloud

parse - error angular de ionic2 CloudModule.forRoot() no es función



mat icon is not a known element angular 6 (0)

Intento configurar la nube iónica en mi aplicación, pero tengo este error: UnEught TypeError: angular.element no es una función (...) para esta línea:

CloudModule.forRoot(cloudSettings)

mi código: para app.module.ts

import { NgModule, ErrorHandler } from ''@angular/core''; import { IonicApp, IonicModule, IonicErrorHandler } from ''ionic-angular''; import { CloudSettings, CloudModule } from ''@ionic/cloud-angular''; import { MyApp } from ''./app.component''; import { HomePage } from ''../pages/home/home''; import {DetailsPage} from ''../pages/details/details''; import {OtherPage} from ''../pages/other-page/other-page''; import { Page1 } from ''../pages/page1/page1''; import { Page2 } from ''../pages/page2/page2''; var cloudSettings: CloudSettings = { ''core'': { ''app_id'': ''xxxxx'' } }; console.log(cloudSettings); @NgModule({ declarations: [ MyApp, HomePage ], imports: [ IonicModule.forRoot(MyApp), CloudModule.forRoot(cloudSettings) ], bootstrap: [IonicApp], entryComponents: [ MyApp, HomePage ], providers: [{provide: ErrorHandler , useClass:IonicErrorHandler}] }) export class AppModule {}

gracias,