https://github.com/softchris/angular2-demo
the idea is to showcase features in Angular 2
https://github.com/softchris/angular2-demo
Last synced: over 1 year ago
JSON representation
the idea is to showcase features in Angular 2
- Host: GitHub
- URL: https://github.com/softchris/angular2-demo
- Owner: softchris
- Created: 2017-05-30T20:43:54.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-02T11:27:25.000Z (about 9 years ago)
- Last Synced: 2025-02-08T13:14:10.444Z (over 1 year ago)
- Language: TypeScript
- Size: 16.6 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Angular 2 Demos
The idea is to showcase different features in Angular 2
## Routing with router guards
src/app/admin currently showcases a component + a router guard
## Template forms
src/app/hero currently showcases Template forms with some simple validation
## CRUD + Pipe
scr/app/products showcases how you can build a CRUD + pipe
start looking from product.container.component.ts
## Custom rendering of html
Sometimes you don't want to specify a template html or inline template but want to render custom html.
This is how you can do it. Look at home.component.ts for an example and common/html.outlet.directive.ts