in package.json

"scripts": {
    ..
    "https": "ng serve --ssl true --ssl-key \"certs/localhost.key\" --ssl-cert \"certs/localhost.crt\"",
    ..
}
print