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
74
Other Decks in Programming
See All in Programming
Comparing decimals in Swift Testing
417_72ki
0
170
PHPカンファレンス関西2025 基調講演
sugimotokei
6
1.1k
なぜ今、Terraformの本を書いたのか? - 著者陣に聞く!『Terraformではじめる実践IaC』登壇資料
fufuhu
4
550
No Install CMS戦略 〜 5年先を見据えたフロントエンド開発を考える / no_install_cms
rdlabo
0
480
ゲームの物理
fadis
3
920
AI Ramen Fight
yusukebe
0
130
プロダクトという一杯を作る - プロダクトチームが味の責任を持つまでの煮込み奮闘記
hiliteeternal
0
440
Gemini CLIの"強み"を知る! Gemini CLIとClaude Codeを比較してみた!
kotahisafuru
3
960
Infer入門
riru
4
1.4k
実践!App Intents対応
yuukiw00w
1
220
可変性を制する設計: 構造と振る舞いから考える概念モデリングとその実装
a_suenami
10
1.7k
一人でAIプロダクトを作るための工夫 〜技術選定・開発プロセス編〜 / I want AI to work harder
rkaga
10
2.1k
Featured
See All Featured
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.4k
Large-scale JavaScript Application Architecture
addyosmani
512
110k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Intergalactic Javascript Robots from Outer Space
tanoku
272
27k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
131
19k
VelocityConf: Rendering Performance Case Studies
addyosmani
332
24k
Being A Developer After 40
akosma
90
590k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
31
2.2k
Building Adaptive Systems
keathley
43
2.7k
Why Our Code Smells
bkeepers
PRO
337
57k
Optimising Largest Contentful Paint
csswizardry
37
3.4k
GraphQLの誤解/rethinking-graphql
sonatard
71
11k
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