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
AngularJS: Tipps and Tricks for $provide
Search
jowe
February 13, 2014
Programming
0
78
AngularJS: Tipps and Tricks for $provide
Donnerstagsvortrag Lightning Talk von @MJantke
jowe
February 13, 2014
Tweet
Share
More Decks by jowe
See All by jowe
AngularJS with RequireJS
jowe
1
110
Forms in AngularJS
jowe
1
120
Other Decks in Programming
See All in Programming
LLM Observabilityによる 対話型音声AIアプリケーションの安定運用
gekko0114
2
430
ぼくの開発環境2026
yuzneri
0
230
AI Agent の開発と運用を支える Durable Execution #AgentsInProd
izumin5210
7
2.3k
Package Management Learnings from Homebrew
mikemcquaid
0
230
IFSによる形状設計/デモシーンの魅力 @ 慶應大学SFC
gam0022
1
300
生成AIを使ったコードレビューで定性的に品質カバー
chiilog
1
270
【卒業研究】会話ログ分析によるユーザーごとの関心に応じた話題提案手法
momok47
0
200
20260127_試行錯誤の結晶を1冊に。著者が解説 先輩データサイエンティストからの指南書 / author's_commentary_ds_instructions_guide
nash_efp
1
980
FOSDEM 2026: STUNMESH-go: Building P2P WireGuard Mesh Without Self-Hosted Infrastructure
tjjh89017
0
170
Data-Centric Kaggle
isax1015
2
780
Oxlint JS plugins
kazupon
1
960
AI時代の認知負荷との向き合い方
optfit
0
160
Featured
See All Featured
Deep Space Network (abreviated)
tonyrice
0
49
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
61
52k
For a Future-Friendly Web
brad_frost
182
10k
Marketing to machines
jonoalderson
1
4.6k
First, design no harm
axbom
PRO
2
1.1k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.4k
Are puppies a ranking factor?
jonoalderson
1
2.7k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
1.6k
The browser strikes back
jonoalderson
0
380
Building a Modern Day E-commerce SEO Strategy
aleyda
45
8.7k
Writing Fast Ruby
sferik
630
62k
The Pragmatic Product Professional
lauravandoore
37
7.1k
Transcript
Tipps and Tricks for $provide
@MJantke Developer bei Mayflower Marco Jantke
What is $provide? Is it this dependency injection thing?
What is $provide? ‣ API to fill DI-container ‣ Configures
the $injector ‣ Uses strategies for varying services called recipes ‣ Most functionality is exposed to angular.Module
I've got a rough image but what is this $injector
again?
What is $injector? ‣ Holds the container ‣ API to
interact with DI-container ‣ Resolves requested dependencies for services ‣ Knows how to instantiate objects and how to invoke functions
Ok, so far so good. But what do you want
to show me?
Recipes Recipes
Recipes ‣ constant() - define constant for configuration ‣ value()
- define value, get value ‣ factory() - use the module pattern ‣ service() - pass constructor, get object ‣ decorator() - intercept and extend ‣ provider() - write your configurable factory
Let's $provide \../(-.-)\../
Many thanks for your attention :-) Questions open?