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
100
AngularJS: Tipps and Tricks for $provide
jowe
0
73
Other Decks in Programming
See All in Programming
Ruby on cygwin 2025-02
fd0
0
170
仕様変更に耐えるための"今の"DRY原則を考える
mkmk884
8
2.8k
PHPのバージョンアップ時にも役立ったAST
matsuo_atsushi
0
210
『GO』アプリ バックエンドサーバのコスト削減
mot_techtalk
0
150
法律の脱レガシーに学ぶフロントエンド刷新
oguemon
5
740
Grafana Loki によるサーバログのコスト削減
mot_techtalk
1
130
Honoをフロントエンドで使う 3つのやり方
yusukebe
7
3.5k
Djangoにおける複数ユーザー種別認証の設計アプローチ@DjangoCongress JP 2025
delhi09
PRO
4
410
How mixi2 Uses TiDB for SNS Scalability and Performance
kanmo
40
16k
DROBEの生成AI活用事例 with AWS
ippey
0
140
AIプログラミング雑キャッチアップ
yuheinakasaka
9
1.4k
第3回関東Kaggler会_AtCoderはKaggleの役に立つ
chettub
3
1.1k
Featured
See All Featured
Building a Scalable Design System with Sketch
lauravandoore
461
33k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
120k
Building Adaptive Systems
keathley
40
2.4k
Why You Should Never Use an ORM
jnunemaker
PRO
55
9.2k
[RailsConf 2023] Rails as a piece of cake
palkan
53
5.3k
Practical Orchestrator
shlominoach
186
10k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Music & Morning Musume
bryan
46
6.4k
Building Your Own Lightsaber
phodgson
104
6.2k
Testing 201, or: Great Expectations
jmmastey
42
7.2k
Become a Pro
speakerdeck
PRO
26
5.2k
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