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
110
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
99
AngularJS: Tipps and Tricks for $provide
jowe
0
71
Other Decks in Programming
See All in Programming
初心者のためのRubyKaigi入門/RubyKaigi Introduction
a_matsuda
2
770
Node.js v22 で変わること
yosuke_furukawa
PRO
9
3.5k
Azure OpenAI Serviceのプロンプトエンジニアリング入門
tomokusaba
3
710
TYPO3 v13 – The road to LTS: What's new and new APIs
luisasofie_xoxo
0
210
Code Reviews
bkuhlmann
4
890
#phpcon_odawara オープン・クローズドなテストフィクスチャを求めて / open closed test fixtures
77web
3
230
コーンフレークから始める モデリング会話入門
ogurotakayuki
0
370
DMMプラットフォームがTiDB Cloudを採用した背景
pospome
8
4.1k
Git Rebase
bkuhlmann
11
1.6k
StoreKit2によるiOSのアプリ内課金のリニューアル
kangnux
0
110
Build Apps for iOS, Android & Desktop in 100% Kotlin With Compose Multiplatform (mDevCamp 2024)
zsmb
0
340
"config" ってなんだ? / What is "config"?
okashoi
0
240
Featured
See All Featured
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
274
13k
The Brand Is Dead. Long Live the Brand.
mthomps
49
29k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
244
20k
Building Better People: How to give real-time feedback that sticks.
wjessup
355
18k
WebSockets: Embracing the real-time Web
robhawkes
59
7k
The Cost Of JavaScript in 2023
addyosmani
16
3.9k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
34
8.9k
Designing Experiences People Love
moore
136
23k
Imperfection Machines: The Place of Print at Facebook
scottboms
260
12k
BBQ
matthewcrist
80
8.8k
Creatively Recalculating Your Daily Design Routine
revolveconf
210
11k
Building an army of robots
kneath
300
41k
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