Submit Search
Upload
Routing to components
•
0 likes
•
421 views
C
Christopher Caplinger
Follow
ngNYC meetup talk from 6/4/15 on Angular 2 components + routing.
Read less
Read more
Engineering
Report
Share
Report
Share
1 of 14
Download now
Download to read offline
Recommended
Upgrading from Angular 1.x to Angular 2.x
Upgrading from Angular 1.x to Angular 2.x
Eyal Vardi
Angular the Good Parts
Angular the Good Parts
Krzysztof Kula
Angular2v2
Angular2v2
Yoeri Van Damme
Angular 2.0 Dependency injection
Angular 2.0 Dependency injection
Eyal Vardi
An introduction to Angular2
An introduction to Angular2
Apptension
Angular js 2.0, ng poznań 20.11
Angular js 2.0, ng poznań 20.11
Kamil Augustynowicz
Angular js - the beginning
Angular js - the beginning
A.K.M. Ahsrafuzzaman
Styling recipes for Angular components
Styling recipes for Angular components
Nir Kaufman
Recommended
Upgrading from Angular 1.x to Angular 2.x
Upgrading from Angular 1.x to Angular 2.x
Eyal Vardi
Angular the Good Parts
Angular the Good Parts
Krzysztof Kula
Angular2v2
Angular2v2
Yoeri Van Damme
Angular 2.0 Dependency injection
Angular 2.0 Dependency injection
Eyal Vardi
An introduction to Angular2
An introduction to Angular2
Apptension
Angular js 2.0, ng poznań 20.11
Angular js 2.0, ng poznań 20.11
Kamil Augustynowicz
Angular js - the beginning
Angular js - the beginning
A.K.M. Ahsrafuzzaman
Styling recipes for Angular components
Styling recipes for Angular components
Nir Kaufman
Angular 2.0 Routing and Navigation
Angular 2.0 Routing and Navigation
Eyal Vardi
Getting Started with Appcelerator Alloy - Cross Platform Mobile Development -...
Getting Started with Appcelerator Alloy - Cross Platform Mobile Development -...
Aaron Saunders
How Angular2 Can Improve Your AngularJS Apps Today!
How Angular2 Can Improve Your AngularJS Apps Today!
Nir Kaufman
Routing And Navigation
Routing And Navigation
Eyal Vardi
Introduction to Angular2
Introduction to Angular2
Ivan Matiishyn
Solid angular
Solid angular
Nir Kaufman
Migrating to Angular 2
Migrating to Angular 2
FITC
Redux in Angular2 for jsbe
Redux in Angular2 for jsbe
Brecht Billiet
Angular 2.0 forms
Angular 2.0 forms
Eyal Vardi
Redux with angular 2 - workshop 2016
Redux with angular 2 - workshop 2016
Nir Kaufman
Angular 2.0 - What to expect
Angular 2.0 - What to expect
Allan Marques Baptista
AngularJS Framework
AngularJS Framework
Barcamp Saigon
Angularjs Basics
Angularjs Basics
Anuradha Bandara
AngularJS in 60ish Minutes
AngularJS in 60ish Minutes
Dan Wahlin
Introduction To Angular's reactive forms
Introduction To Angular's reactive forms
Nir Kaufman
View controller life cycle
View controller life cycle
SV.CO
Angular2 & ngrx/store: Game of States
Angular2 & ngrx/store: Game of States
Oren Farhi
Single Page Applications in Angular (italiano)
Single Page Applications in Angular (italiano)
Fabio Biondi
Deep Dive into React Hooks
Deep Dive into React Hooks
Felix Kühl
Angular 1.x in action now
Angular 1.x in action now
GDG Odessa
2015.10.05 Updated > Network Device Development - Part 1: Switch
2015.10.05 Updated > Network Device Development - Part 1: Switch
Cheng-Yi Yu
SSL Technology
SSL Technology
Pushpraj Verma
More Related Content
What's hot
Angular 2.0 Routing and Navigation
Angular 2.0 Routing and Navigation
Eyal Vardi
Getting Started with Appcelerator Alloy - Cross Platform Mobile Development -...
Getting Started with Appcelerator Alloy - Cross Platform Mobile Development -...
Aaron Saunders
How Angular2 Can Improve Your AngularJS Apps Today!
How Angular2 Can Improve Your AngularJS Apps Today!
Nir Kaufman
Routing And Navigation
Routing And Navigation
Eyal Vardi
Introduction to Angular2
Introduction to Angular2
Ivan Matiishyn
Solid angular
Solid angular
Nir Kaufman
Migrating to Angular 2
Migrating to Angular 2
FITC
Redux in Angular2 for jsbe
Redux in Angular2 for jsbe
Brecht Billiet
Angular 2.0 forms
Angular 2.0 forms
Eyal Vardi
Redux with angular 2 - workshop 2016
Redux with angular 2 - workshop 2016
Nir Kaufman
Angular 2.0 - What to expect
Angular 2.0 - What to expect
Allan Marques Baptista
AngularJS Framework
AngularJS Framework
Barcamp Saigon
Angularjs Basics
Angularjs Basics
Anuradha Bandara
AngularJS in 60ish Minutes
AngularJS in 60ish Minutes
Dan Wahlin
Introduction To Angular's reactive forms
Introduction To Angular's reactive forms
Nir Kaufman
View controller life cycle
View controller life cycle
SV.CO
Angular2 & ngrx/store: Game of States
Angular2 & ngrx/store: Game of States
Oren Farhi
Single Page Applications in Angular (italiano)
Single Page Applications in Angular (italiano)
Fabio Biondi
Deep Dive into React Hooks
Deep Dive into React Hooks
Felix Kühl
Angular 1.x in action now
Angular 1.x in action now
GDG Odessa
What's hot
(20)
Angular 2.0 Routing and Navigation
Angular 2.0 Routing and Navigation
Getting Started with Appcelerator Alloy - Cross Platform Mobile Development -...
Getting Started with Appcelerator Alloy - Cross Platform Mobile Development -...
How Angular2 Can Improve Your AngularJS Apps Today!
How Angular2 Can Improve Your AngularJS Apps Today!
Routing And Navigation
Routing And Navigation
Introduction to Angular2
Introduction to Angular2
Solid angular
Solid angular
Migrating to Angular 2
Migrating to Angular 2
Redux in Angular2 for jsbe
Redux in Angular2 for jsbe
Angular 2.0 forms
Angular 2.0 forms
Redux with angular 2 - workshop 2016
Redux with angular 2 - workshop 2016
Angular 2.0 - What to expect
Angular 2.0 - What to expect
AngularJS Framework
AngularJS Framework
Angularjs Basics
Angularjs Basics
AngularJS in 60ish Minutes
AngularJS in 60ish Minutes
Introduction To Angular's reactive forms
Introduction To Angular's reactive forms
View controller life cycle
View controller life cycle
Angular2 & ngrx/store: Game of States
Angular2 & ngrx/store: Game of States
Single Page Applications in Angular (italiano)
Single Page Applications in Angular (italiano)
Deep Dive into React Hooks
Deep Dive into React Hooks
Angular 1.x in action now
Angular 1.x in action now
Viewers also liked
2015.10.05 Updated > Network Device Development - Part 1: Switch
2015.10.05 Updated > Network Device Development - Part 1: Switch
Cheng-Yi Yu
SSL Technology
SSL Technology
Pushpraj Verma
Fundamental of Secure Socket Layer (SSL) | Part - 2
Fundamental of Secure Socket Layer (SSL) | Part - 2
Vishal Kumar
CCNA Routing Protocols
CCNA Routing Protocols
Mansour Naslcheraghi
Cryptography Simplified - Symmetric Key, Public Key, PKI, Digital Signature, ...
Cryptography Simplified - Symmetric Key, Public Key, PKI, Digital Signature, ...
Muhammad Faisal Naqvi, CISSP, CISA, AMBCI, ITIL, ISMS LA n Master
Network device management
Network device management
Arnold Derrick Kinney
Secure Socket Layer
Secure Socket Layer
Naveen Kumar
Lecture 6 web security
Lecture 6 web security
rajakhurram
Introduction to Secure Sockets Layer
Introduction to Secure Sockets Layer
Nascenia IT
Dhcp ppt
Dhcp ppt
Hema Dhariwal
CCNA Routing Protocols
CCNA Routing Protocols
Dsunte Wilson
CCNA Advanced Routing Protocols
CCNA Advanced Routing Protocols
Dsunte Wilson
Viewers also liked
(12)
2015.10.05 Updated > Network Device Development - Part 1: Switch
2015.10.05 Updated > Network Device Development - Part 1: Switch
SSL Technology
SSL Technology
Fundamental of Secure Socket Layer (SSL) | Part - 2
Fundamental of Secure Socket Layer (SSL) | Part - 2
CCNA Routing Protocols
CCNA Routing Protocols
Cryptography Simplified - Symmetric Key, Public Key, PKI, Digital Signature, ...
Cryptography Simplified - Symmetric Key, Public Key, PKI, Digital Signature, ...
Network device management
Network device management
Secure Socket Layer
Secure Socket Layer
Lecture 6 web security
Lecture 6 web security
Introduction to Secure Sockets Layer
Introduction to Secure Sockets Layer
Dhcp ppt
Dhcp ppt
CCNA Routing Protocols
CCNA Routing Protocols
CCNA Advanced Routing Protocols
CCNA Advanced Routing Protocols
Similar to Routing to components
Peggy angular 2 in meteor
Peggy angular 2 in meteor
LearningTech
Angular2 + rxjs
Angular2 + rxjs
Christoffer Noring
[FEConf Korea 2017]Angular 컴포넌트 대화법
[FEConf Korea 2017]Angular 컴포넌트 대화법
Jeado Ko
Angular JS2 Training Session #2
Angular JS2 Training Session #2
Paras Mendiratta
Angular 2 in-1
Angular 2 in-1
GlobalLogic Ukraine
Evan Schultz - Angular Camp - ng2-redux
Evan Schultz - Angular Camp - ng2-redux
Evan Schultz
angular fundamentals.pdf angular fundamentals.pdf
angular fundamentals.pdf angular fundamentals.pdf
NuttavutThongjor1
mean stack
mean stack
michaelaaron25322
Паразитируем на React-экосистеме (Angular 4+) / Алексей Охрименко (IPONWEB)
Паразитируем на React-экосистеме (Angular 4+) / Алексей Охрименко (IPONWEB)
Ontico
Angular2: Quick overview with 2do app example
Angular2: Quick overview with 2do app example
Alexey Frolov
Desbravando Web Components
Desbravando Web Components
Mateus Ortiz
Commit University - Exploring Angular 2
Commit University - Exploring Angular 2
Commit University
Hidden Docs in Angular
Hidden Docs in Angular
Yadong Xie
Angular 2 - The Next Framework
Angular 2 - The Next Framework
Commit University
Angular1x and Angular 2 for Beginners
Angular1x and Angular 2 for Beginners
Oswald Campesato
Zukunftssichere Anwendungen mit AngularJS 1.x entwickeln (GDG DevFest Karlsru...
Zukunftssichere Anwendungen mit AngularJS 1.x entwickeln (GDG DevFest Karlsru...
Christian Janz
Building an angular application -1 ( API: Golang, Database: Postgres) v1.0
Building an angular application -1 ( API: Golang, Database: Postgres) v1.0
Frost
Angular 2 Migration - JHipster Meetup 6
Angular 2 Migration - JHipster Meetup 6
William Marques
Design for succcess with react and storybook.js
Design for succcess with react and storybook.js
Chris Saylor
Angular2 workshop
Angular2 workshop
Nir Kaufman
Similar to Routing to components
(20)
Peggy angular 2 in meteor
Peggy angular 2 in meteor
Angular2 + rxjs
Angular2 + rxjs
[FEConf Korea 2017]Angular 컴포넌트 대화법
[FEConf Korea 2017]Angular 컴포넌트 대화법
Angular JS2 Training Session #2
Angular JS2 Training Session #2
Angular 2 in-1
Angular 2 in-1
Evan Schultz - Angular Camp - ng2-redux
Evan Schultz - Angular Camp - ng2-redux
angular fundamentals.pdf angular fundamentals.pdf
angular fundamentals.pdf angular fundamentals.pdf
mean stack
mean stack
Паразитируем на React-экосистеме (Angular 4+) / Алексей Охрименко (IPONWEB)
Паразитируем на React-экосистеме (Angular 4+) / Алексей Охрименко (IPONWEB)
Angular2: Quick overview with 2do app example
Angular2: Quick overview with 2do app example
Desbravando Web Components
Desbravando Web Components
Commit University - Exploring Angular 2
Commit University - Exploring Angular 2
Hidden Docs in Angular
Hidden Docs in Angular
Angular 2 - The Next Framework
Angular 2 - The Next Framework
Angular1x and Angular 2 for Beginners
Angular1x and Angular 2 for Beginners
Zukunftssichere Anwendungen mit AngularJS 1.x entwickeln (GDG DevFest Karlsru...
Zukunftssichere Anwendungen mit AngularJS 1.x entwickeln (GDG DevFest Karlsru...
Building an angular application -1 ( API: Golang, Database: Postgres) v1.0
Building an angular application -1 ( API: Golang, Database: Postgres) v1.0
Angular 2 Migration - JHipster Meetup 6
Angular 2 Migration - JHipster Meetup 6
Design for succcess with react and storybook.js
Design for succcess with react and storybook.js
Angular2 workshop
Angular2 workshop
Recently uploaded
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
Quintin Balsdon
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
Arindam Chakraborty, Ph.D., P.E. (CA, TX)
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
Intro To Electric Vehicles PDF Notes.pdf
Intro To Electric Vehicles PDF Notes.pdf
rs7054576148
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Kandungan 087776558899
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
dollysharma2066
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
RishantSharmaFr
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
Call Girls in Nagpur High Profile Call Girls
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Call Girls in Nagpur High Profile
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
roncy bisnoi
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
mulugeta48
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Call Girls in Nagpur High Profile
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
DineshKumar4165
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
SUHANI PANDEY
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
Kamal Acharya
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
ankushspencer015
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
bhaskargani46
Recently uploaded
(20)
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Intro To Electric Vehicles PDF Notes.pdf
Intro To Electric Vehicles PDF Notes.pdf
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
Routing to components
1.
ROUTING TO COMPONENTS /Chris Caplinger
@unicode_snowman
2.
COMPONENT OVERVIEW Components Vs.
Directives ?
3.
Directive + Template
=== Component
4.
class Component extends
Directive { ... }
5.
import { ComponentAnnotation
as Component, ViewAnnotation as View, bootstrap import { NgFor } from 'angular2/directives' @Component({ selector: 'things' }) @View({ template: `<div> <h5>A LIST OF THINGS!!!</h5> <ul> <li *ng-for="#thing of things; #i = index" (click)="onClickIt {{thing}} </li> </ul> </div>`,
6.
import { bootstrap
} from 'angular2/angular2'; ... bootstrap(Things) ... <things></things>
7.
APP ARCHITECTURE /
ROUTING
8.
9.
$stateProvider .state('report',{ views: { 'filters': { templateUrl:
'report-filters.html', controller: function(){ ... filters view controller ... } }, 'tabledata': { templateUrl: 'report-table.html', controller: function(){ ... tabledata view controller ... } }, 'graph': { templateUrl: 'report-graph.html', controller: function(){ ... graph view controller ... } } }
10.
COMPONENT ROUTER
11.
AppController.$routeConfig = [ {
path: '/report', components: { filters: 'filters', tableData: 'tableDat ] ... <div class="container"> <div ng-outlet="filters"></div> <div ng-outlet="tableData"></div> <div ng-outlet="graph"></div> </div> @Component({ selector: 'app' }) @View({ template: ` <div class="container"> <router-outlet name="filters"></router-outlet> <router-outlet name="tableData"></router-outlet> <router-outlet name="graph"></router-outlet> </div> `, directives: [RouterOutlet] }) @RouteConfig([ { path: '/report', components: { filters: Filters, tableData: TableData ]) class App { }
12.
13.
ANGULAR 1 =>
ANGULAR 2 MIGRATION
14.
QUESTIONS?
Download now