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
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
Transcript
24 slides
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 :)
Other Decks in Programming
See All in Programming
Apple Intelligenceとオンデバイス時代の到来
yahir0
0
250
AWS CDKを理解するために公式の定義を深掘って解説してみる / Understanding AWS CDK by Digging into Its Official Definition
akihisaikeda
3
320
Zero-Tap Sign-In対応、結局何をすればいいの?
mitohato14
0
2.6k
まずはコードより業務と向き合う:テーブル解体のためにPdMを呼んだ話
sakawe_ee
0
260
AIが実装を担う時代の「技術設計」と「チームマネジメント」
kamina_zzz
2
300
LLM 101: Exploring LLMs, Starting with Tokens.
dalinaum
0
120
TanStack Vue Query と Pinia Colada から学ぶ非同期状態の型設計
aoshi
0
700
Growing PicoRuby's Ecosystem on ESP32
yuuu
2
150
AI Augmentation Techniques with Liberty
ivargrimstad
1
530
[DroidKnights 2026] Workflow AX 적용기 — 자동 정책 정리부터 E2E까지
dayeon
0
120
AIがコードを書いてくれる時代、我々は何を確かめるのか
yosuke_furukawa
PRO
13
6.1k
[Kotlin Fest 2026] eBPF Tracing for Kotlin
takehaya
1
390
Featured
See All Featured
RailsConf 2023
tenderlove
30
1.6k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
430
WENDY [Excerpt]
tessaabrams
15
41k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2.2k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.4k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
3
3.9k
Mind Mapping
helmedeiros
1
440
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.6k
Technical Leadership for Architectural Decision Making
baasie
4
650
AI: The stuff that nobody shows you
jnunemaker
PRO
12
1.3k
4 Signs Your Business is Dying
shpigford
187
23k
Fireside Chat
paigeccino
43
4.1k