# Angular

This project is an example of how the SDK can be integrated with the Angular framework.
In order to install it and see the example, you will have to launch a series of commands that you will see below.

## Install dependencies

To install the necessary dependencies of Angular you have to launch in the command console:

```bash
npm i
```

## Copy SDK files

Copy ``assets`` folder, ``vd-selfie.es.js`` and ``vd-selfie.umd.js`` files from your own sdk folder to the static assets folder (/src) of your project. Please refer to [Veridas product documentation hub](https://docs.veridas.com/) for setup, configuration and integration examples

## Build

To build the project, launch the command:

```bash
npm run build
```

This command stores the files needed to view the demo in the `dist/angular` folder.

## Development server

To be able to see the changes that are made while developing or to see the example that has been made, you have to launch the following command:

```bash
npm run start
```

Now we only need to navigate in our browser to the address `https://localhost:4200/` to see the example

For more information about the framework visit this [link](https://angular.io/docs)
