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
190
2
Share
Angular New Router
Tomoyuki Kashiro
April 09, 2015
Other Decks in Programming
See All in Programming
一度始めたらやめられない開発効率向上術 / Findy あなたのdotfilesを教えて!
k0kubun
4
2.8k
Kubernetes上でAgentを動かすための最新動向と押さえるべき概念まとめ
sotamaki0421
2
380
ポーリング処理廃止によるイベント駆動アーキテクチャへの移行
seitarof
3
1.3k
20260320登壇資料
pharct
0
160
Coding as Prompting Since 2025
ragingwind
0
680
Linux Kernelの1文字のミスで 権限昇格ができた話
rqda
0
2.3k
Codex CLI でつくる、Issue から merge までの開発フロー
amata1219
0
300
10年分の技術的負債、完済へ ― Claude Code主導のAI駆動開発でスポーツブルを丸ごとリプレイスした話
takuya_houshima
0
550
Rethinking API Platform Filters
vinceamstoutz
0
7.1k
Going Multiplatform with Your Android App (Android Makers 2026)
zsmb
1
270
VueエンジニアがReactを触って感じた_設計の違い
koukimiura
0
150
Coding at the Speed of Thought: The New Era of Symfony Docker
dunglas
0
4.5k
Featured
See All Featured
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.8k
From π to Pie charts
rasagy
0
160
Deep Space Network (abreviated)
tonyrice
0
100
Color Theory Basics | Prateek | Gurzu
gurzu
0
280
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
990
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.1k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
110
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
How to make the Groovebox
asonas
2
2.1k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
310
A Tale of Four Properties
chriscoyier
163
24k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
64
54k
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 :)