Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Angular New Router
Search
Tomoyuki Kashiro
April 09, 2015
Programming
200
2
Share
Angular New Router
Tomoyuki Kashiro
April 09, 2015
Other Decks in Programming
See All in Programming
forteeの改修から振り返るPHPerKaigi 2026
muno92
PRO
3
290
AIと共に生きる技術選定 2026
sgash708
0
100
Angular Signal Forms
debug_mode
0
110
ハーネスエンジニアリングにどう向き合うか 〜ルールファイルを超えて開発プロセスを設計する〜 / How to approach harness engineering
rkaga
24
14k
アクセシビリティ試験の"その後"を仕組み化する
yuuumiravy
1
170
10 Tips of AWS ~Gen AI on AWS~
licux
5
430
Programming with a DJ Controller — not vibe coding
m_seki
3
140
Coding as Prompting Since 2025
ragingwind
0
840
Oxlintとeslint-plugin-react-hooks 明日から始められそう?
t6adev
0
280
Making the RBS Parser Faster
soutaro
0
480
アーキテクチャモダナイゼーションとは何か
nwiizo
19
5.4k
実用!Hono RPC2026
yodaka
2
250
Featured
See All Featured
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
430
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
120
Building the Perfect Custom Keyboard
takai
2
730
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
10k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
260
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
69
39k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
300
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
480
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
230
Darren the Foodie - Storyboard
khoart
PRO
3
3.3k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
1.9k
Transcript
ANGULAR NEW ROUTER
TOMOYUKI KASHIRO Twitter : @Tkashiro Github : @kashiro Freelance Web
Front-end Developer
http://goo.gl/MpnOiM
BASIC USAGE
DIRECTORY There is no way to change components (html and
javascript) path in the settings.
CONTROLLER app.js
COMPONENTS component/home/home.js
COMPONENTS component/home/home.html
HTML index.html ng-link=“home” : href=“/“ ng-link=“detail({id: ‘hoge’})” : href=“/detail/hoge“
NG-LINK
RESULT
SIBLING USAGE
SETTING Navigation Area Contents Area
/index.html Home Nav Home Contents
/detail/index.html Detail Nav Detail Contents
RESULT LEFT CONTENT RIGHT CONTENT
RESULT
HTML index.html
CONTROLLER
RESULT
OTHER USAGE
LIFE CYCLE HOOK You can hook routing life cycle (
e.g. activate / deactivate ) • Activate : useful to check login status • Deactivate : useful to check input validation
SUMMARY
• still have some inconvenient things. • new router is
still developing… • It will be useful to controlling routing. i think. • Let’s contribute :)