Skip to content
Demo repository showing how ivy allows significant API simplification.
TypeScript HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Update gitignore Dec 3, 2018 Update readme Dec 9, 2018
angular-compiler.tgz Distribute angular in tars Dec 9, 2018
angular-core.tgz Distribute angular in tars Dec 9, 2018
index.ts Distribute angular in tars Dec 9, 2018
package.json Distribute angular in tars Dec 9, 2018
tsconfig.json Initial commit Dec 3, 2018
yarn.lock Distribute angular in tars Dec 9, 2018

Angular Ivy Demo

This repository demonstrates simplified API for using Angular enabled by ivy.

Disclaimer: the APIs below are highly experimental and likely to change. The produced bundle by parcel is not tree-shaked, which means that it'll be significant bigger than what Angular CLI will produce once Ivy is officially released.


The entire application is within index.html and index.ts. The index.ts file contains two components and a pipe. There are two important points to notice:

  • There are no @NgModules
  • There are no zones
  • We don't use rxjs explicitly

This already reduces the learning curve dramatically by cutting three of the most misunderstood concepts in Angular. Keep in mind that Ivy does not deprecate NgModules and zones, they'll keep function the way they do today. The only difference is that with the new rendering they become optional.


To try the demo:

git clone
cd angular-ivy-demo && npm i
npm start

Now open http://localhost:1234.

Try to create a "Hello, World!" application by:

  • Create a file called hello-world.html with the following content:
<!DOCTYPE html>
<html lang="en">
    <script src="hello-world.ts"></script>
  • Create a file called hello-world.ts with the following content:
import {Component, ɵrenderComponent as renderComponent} from '@angular/core';
import '@angular/compiler';

  selector: 'app',
  template: 'Hello, World!'
class AppComponent {}

  • Run the following command:
./node_modules/.bin/parcel hello-world.html



You can’t perform that action at this time.