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
今からFlash開発できるわけないじゃん、ムリムリ! (※ムリじゃなかった!?)
arkw
0
180
メッセージングを利用して時間的結合を分離しよう #phperkaigi
kajitack
3
550
Symfonyの特性(設計思想)を手軽に活かす特性(trait)
ickx
0
120
Kubernetes上でAgentを動かすための最新動向と押さえるべき概念まとめ
sotamaki0421
2
370
Radical Imagining - LIFT 2025-2027 Policy Agenda
lift1998
0
230
モダンOBSプラグイン開発
umireon
0
200
Goの型安全性で実現する複数プロダクトの権限管理
ishikawa_pro
2
1.4k
Laravel Nightwatchの裏側 - Laravel公式Observabilityツールを支える設計と実装
avosalmon
1
310
Codex CLIのSubagentsによる並列API実装 / Parallel API Implementation with Codex CLI Subagents
takatty
2
820
AIと共にエンジニアとPMの “二刀流”を実現する
naruogram
0
120
20260315 AWSなんもわからん🥲
chiilog
2
180
LM Linkで(非力な!)ノートPCでローカルLLM
seosoft
0
360
Featured
See All Featured
Java REST API Framework Comparison - PWX 2021
mraible
34
9.2k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.4k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.1k
Utilizing Notion as your number one productivity tool
mfonobong
4
280
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.4k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
310
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9k
Making the Leap to Tech Lead
cromwellryan
135
9.8k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
280
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
210
Amusing Abliteration
ianozsvald
1
150
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 :)