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
Forms in AngularJS
Search
jowe
February 13, 2014
Programming
1
120
Forms in AngularJS
Lightning Talks Slides @mayflowerphp about Forms in AngularJS
jowe
February 13, 2014
Tweet
Share
More Decks by jowe
See All by jowe
AngularJS with RequireJS
jowe
1
110
AngularJS: Tipps and Tricks for $provide
jowe
0
78
Other Decks in Programming
See All in Programming
カスタマーサクセス業務を変革したヘルススコアの実現と学び
_hummer0724
0
680
AI & Enginnering
codelynx
0
110
Data-Centric Kaggle
isax1015
2
770
高速開発のためのコード整理術
sutetotanuki
1
390
例外処理とどう使い分ける?Result型を使ったエラー設計 #burikaigi
kajitack
16
6k
Lambda のコードストレージ容量に気をつけましょう
tattwan718
0
110
CSC307 Lecture 07
javiergs
PRO
0
550
【卒業研究】会話ログ分析によるユーザーごとの関心に応じた話題提案手法
momok47
0
190
React 19でつくる「気持ちいいUI」- 楽観的UIのすすめ
himorishige
11
7.3k
Implementation Patterns
denyspoltorak
0
280
生成AIを使ったコードレビューで定性的に品質カバー
chiilog
1
260
OSSとなったswift-buildで Xcodeのビルドを差し替えられるため 自分でXcodeを直せる時代になっている ダイアモンド問題編
yimajo
3
610
Featured
See All Featured
Mobile First: as difficult as doing things right
swwweet
225
10k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.8k
sira's awesome portfolio website redesign presentation
elsirapls
0
150
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.6k
Tell your own story through comics
letsgokoyo
1
810
Building AI with AI
inesmontani
PRO
1
690
Building Adaptive Systems
keathley
44
2.9k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.2k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
55k
How to train your dragon (web standard)
notwaldorf
97
6.5k
How STYLIGHT went responsive
nonsquared
100
6k
Transcript
Formulare in AngularJS
@jowe Entwickelt bei Mayflower Johannes Weber
AngularJS Formulare ‣ Validation Basics ‣ ModelController ‣ FormController ‣
Custom Validation
AngularJS Validation Basics ‣ $valid ‣ $invalid ‣ $dirty ‣
$pristine ‣ $error
AngularJS Formulare
AngularJS ModelController
AngularJS ModelController ‣ API für ngModel Direktive ‣ Services für
‣ Data-binding ‣ Validation ‣ CSS update ‣ Formatting & parsing
AngularJS FormController
AngularJS FormController ‣ Kontrolle über Form Controls ‣ valid/invalid ‣
dirty/pristine ‣ errors
AngularJS Form- & ModelController
AngularJS Validation ‣ $valid ‣ $invalid ‣ $dirty ‣ $pristine
‣ $error
AngularJS Validation
Demo http://jowe.cc/angular-form/
AngularJS Custom Validation ‣ Als eigene Direktive ‣ Zugriff auf
NgModelController ‣ Model ➞ View update ‣ Formatter function to $formatters[] ‣ View ➞ Model update ‣ Parser function to $parsers[]
Demo https://gist.github.com/johannes-weber/8975897
@jowe Vielen Dank für’s Zuhören <3 Johannes Weber