API > @angular/core code createPlatformlink function Creates a platform. Platforms must be created on launch using this function. createPlatform(injector: Injector): PlatformRef Parameters injector Injector Returns PlatformRef