API > @angular/core mode_edit code createPlatform function Creates a platform. Platforms have to be eagerly created via this function. createPlatform(injector: Injector): PlatformRef createPlatform(injector: Injector): PlatformRef Parameters injector Injector Returns PlatformRef