Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Angular New Router
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Tomoyuki Kashiro
April 09, 2015
Programming
230
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Angular New Router
Tomoyuki Kashiro
April 09, 2015
Other Decks in Programming
See All in Programming
半永久的に提供し続けられるプライベートクラウドを目指して ― 利用者の認知負荷を抑えるAPI抽象化とハードウェア世代交代の基盤設計
tomokon
0
450
APNsからLive Activityを開始する話
yumnumm
0
150
モジュールの視点からSwiftを読み解く #iosdc
s_shimotori
0
350
Ghostty + Neovimで作る 透明でカッコ良い開発環境
j341nono
0
150
AI が書く Go コードの品質を劇的に向上させる Linter: “declscope”
mpyw
0
480
Jetpack Compose Mechanisms
skydoves
2
510
Vue Fes Japan の “作る側”に関わってみて
naokihaba
0
120
App Storeの外へ──日本のiOSサイドローディング入門 for iOSDC Japan 2026
yuukiw00w
0
320
速習iPhone Duo対応
yuukiw00w
2
960
仕様駆動開発による爆速プロダクト開発 / Bakusoku Spec Driven Development
kobakei
0
200
Are APIs Still Relevant in the AI Era?
soyuka
0
430
Findy - エンジニア向け会社紹介/Findy Company Deck
findyinc
6
400k
Featured
See All Featured
A Soul's Torment
seathinner
8
3.7k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
2
930
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.4k
The Spectacular Lies of Maps
axbom
PRO
1
1.1k
Building a Scalable Design System with Sketch
lauravandoore
464
34k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.2k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
1
450
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
490
How to Talk to Developers About Accessibility
jct
2
560
The browser strikes back
jonoalderson
0
1.8k
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 :)