O'Reilly logo

Dart: Scalable Application Development by Ivo Balbaert, Sergey Akopkokhyants, Davy Mitchell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Deploying your app

To run in any modern browser, your Angular app has to be compiled to minimal JavaScript. Minimal means tree-shaken (so that unused code is left out) and minified (shortening of names and minimum use of spaces).

But first, test your app in other browsers by performing the following steps:

  1. First, test in your default browser by right-clicking on the startup web page and selecting Run as JavaScript. This will compile to JavaScript and execute the app in the browser, but the compiled code will be kept in memory and not written to disk.
  2. To change browsers, go to the menu-item and navigate to Tools | Preferences | Run | Debug, uncheck Use system default browser, and select the other browser. You can also just start that browser and copy ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required