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
76
Other Decks in Programming
See All in Programming
Towards Transactional Buffering of CDC Events @ Flink Forward 2025 Barcelona Spain
hpgrahsl
0
120
contribution to astral-sh/uv
shunsock
0
550
Introduce Hono CLI
yusukebe
6
3.1k
Ktorで簡単AIアプリケーション
tsukakei
0
120
kiroとCodexで最高のSpec駆動開発を!!数時間で web3ネイティブなミニゲームを作ってみたよ!
mashharuki
0
960
Migration to Signals, Resource API, and NgRx Signal Store
manfredsteyer
PRO
0
130
Devoxx BE - Local Development in the AI Era
kdubois
0
150
CSC509 Lecture 06
javiergs
PRO
0
270
GC25 Recap: The Code You Reviewed is Not the Code You Built / #newt_gophercon_tour
mazrean
0
130
SwiftDataを使って10万件のデータを読み書きする
akidon0000
0
250
Things You Thought You Didn’t Need To Care About That Have a Big Impact On Your Job
hollycummins
0
260
alien-signals と自作 OSS で実現する フレームワーク非依存な ロジック共通化の探求 / Exploring Framework-Agnostic Logic Sharing with alien-signals and Custom OSS
aoseyuu
2
760
Featured
See All Featured
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
Context Engineering - Making Every Token Count
addyosmani
8
310
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
37
2.6k
Docker and Python
trallard
46
3.6k
Balancing Empowerment & Direction
lara
5
700
The World Runs on Bad Software
bkeepers
PRO
72
11k
Testing 201, or: Great Expectations
jmmastey
45
7.7k
The Cult of Friendly URLs
andyhume
79
6.6k
GraphQLの誤解/rethinking-graphql
sonatard
73
11k
BBQ
matthewcrist
89
9.9k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.7k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1k
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