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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
jowe
February 13, 2014
Programming
0
80
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
Angular-Apps smarter machen mit Gen AI: Lokal und offlinefähig - Hands-on Workshop!
christianliebel
PRO
0
110
Agent Skills Workshop - AIへの頼み方を仕組み化する
gotalab555
15
8.6k
エンジニアの「手元の自動化」を加速するn8n 2026.02.27
symy2co
0
150
DSPy入門 Pythonで実現する自動プロンプト最適化 〜人手によるプロンプト調整からの卒業〜
seaturt1e
1
700
go directiveを最新にしすぎないで欲しい話──あるいは、Go 1.26からgo mod initで作られるgo directiveの値が変わる話 / Go 1.26 リリースパーティ
arthur1
2
550
技術検証結果の整理と解析をAIに任せよう!
keisukeikeda
0
120
AIとペアプロして処理時間を97%削減した話 #pyconshizu
kashewnuts
1
230
Railsの気持ちを考えながらコントローラとビューを整頓する/tidying-rails-controllers-and-views-as-rails-think
moro
5
390
AI Assistants for Your Angular Solutions
manfredsteyer
PRO
0
140
AHC061解説
shun_pi
0
370
Docコメントで始める簡単ガードレール
keisukeikeda
1
110
Ruby and LLM Ecosystem 2nd
koic
1
650
Featured
See All Featured
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.9k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
240
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
61k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
55k
[SF Ruby Conf 2025] Rails X
palkan
2
820
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
110
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
79
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.7k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
62
51k
Odyssey Design
rkendrick25
PRO
2
540
A Soul's Torment
seathinner
5
2.4k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
210
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?