angular guid generator code example
Example: angular generate guid
>> npm i guid-typescript --save
import { Guid } from 'guid-typescript';
export class GuidExample {
public id: Guid;
constructor() {
this.id = Guid.create(); // ==> b77d409a-10cd-4a47-8e94-b0cd0ab50aa1
}
}