concept Angular app in category angular
appears as: Angular app, The Angular app, n Angular app, Angular apps

This is an excerpt from Manning's book Getting MEAN with Mongo, Express, Angular, and Node.js 2ED.
Listing 8.6. Adding the CSS files to index.html for the Angular app
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>Loc8rPublic</title> <base href="/"> <link rel="stylesheet" href="assets/stylesheets/bootstrap.min.css"> <link rel="stylesheet" href="assets/stylesheets/all.min.css"> <link rel="stylesheet" href="assets/stylesheets/style.css"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="icon" type="image/x-icon" href="favicon.ico"> </head> <body> <app-home-list></app-home-list> <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRv H+8abtTE1Pi6jizo" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/ umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46 jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"> </script> <script src="assets/javascripts/bootstrap.min.js"></script> </body> </html> !@%STYLE%@! {"css":"{\"css\": \"font-weight: bold;\"}","target":"[[{\"line\":7,\"ch\":2},{\"line\":7,\"ch\":69}],[{\"line\":17,\"ch\":2},{\"line\":17,\"ch\":64}]]"} !@%STYLE%@!
The user session in the Angular application is managed by saving the JWT in localStorage. If the token is there, is valid, and hasn’t expired, you can say that the user is logged in. You can’t change the expiry date of the token from within the Angular app; only the server can do that. What you can do is delete it.

This is an excerpt from Manning's book Angular Development with Typescript, Second Edition.