Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
AngularJS Fundamentals
Search
codebar
February 10, 2016
Programming
190
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
AngularJS Fundamentals
slides for talk about how to get started with angularjs and some of its basic features.
codebar
February 10, 2016
More Decks by codebar
See All by codebar
front-end 101
codebar
0
300
wordpress talk
codebar
0
43
Getting Started With Git
codebar
0
88
Codebar pitch in JumpstartPakistan
codebar
0
60
CodeBar Launch
codebar
0
280
Other Decks in Programming
See All in Programming
App Intentsのビルドプロセスを支える技術
kntkymt
0
470
JPUG勉強会 OSSデータベースの内部構造を理解しよう(第2回)
oga5
0
280
Apple Intelligence を用いた個人情報誤送信防止、及びユーザーリクエスト体験の改善について
yukiny
0
210
モジュールの視点からSwiftを読み解く #iosdc
s_shimotori
0
210
パズルゲームの作り方 / how to make puzzle games
kaityo256
PRO
2
240
海上で動くGoサーバー: goroutineとchannelでさばく航行データストリーム
atsuki_seo
0
990
Webの地図
yosuke_furukawa
PRO
6
4.9k
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
340
選挙速報を多くのユーザーへ 届ける Live Activities 設計
hamayokokuririn
0
180
Turning Architecture into Unit Tests in the AI Era (NSSpain XIV)
steliosf
PRO
1
110
AgentCore CLI で進化した AWS での AI エージェントの作り方 : 必要な機能を必要な時に
icoxfog417
PRO
3
390
速く作れる。その次は、速く確かめられる開発へ 〜AIネイティブ開発を支える、Shift Down〜 / Can build fast. Next, moving to development where we can verify fast.
rkaga
7
5.1k
Featured
See All Featured
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
520
Everyday Curiosity
cassininazir
0
330
The SEO identity crisis: Don't let AI make you average
varn
0
560
Paper Plane
katiecoart
PRO
4
53k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.6k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
410
Being A Developer After 40
akosma
91
590k
The Curious Case for Waylosing
cassininazir
1
540
Rails Girls Zürich Keynote
gr2m
96
14k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
123
22k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
330
Optimizing for Happiness
mojombo
378
71k
Transcript
AngularJS Fundamentals By Najam sikander
Najam Sikander http://codebarpk.com Twitter @najamsikander Blog
Transclusion Restriction Scope Directive Linking
Agenda • AngularJS Features • Getting Started • Directives ,
Filters and Data Binding • Views , Controllers and Scope • Modules , Routes and Factories
Getting Started
Single Page Application (SPA) View View View View View
The Challenge with SPAs DOM Manipulation History Module Loading Routing
Catching Object Modeling Data Binding Ajax/Promises View Loading
Data Binding MVC Routing Testing jqLite Templates History Factories ngularJs
is a full-featured SPA framework ViewModel Controllers Views Directives Services Dependency Injection Validation
None
None
None
Directives, Filters and Data Binding
What are Directives ? They teach HTML new tricks!
Using Directives and Data Binding Syntax Directive Directive Data Binding
Expression
None
None
Iterating with the ng-repeat directive
Iterating with the ng-repeat directive(browse)
None
The AngulaJS API Reference for Directives
ngRepeat Documentation
Using Filters
Using Filters Demo
Views, Controllers and Scope
Views, Controllers and Scope View Scope Controllers $scope is a
“glue” (ViewModel) Between a controller and a view
Creating a View And Controller
Creating a View And Controller $scope injected Dynamically
None
Modules ,Routes and factories
Modules Config Routes View $Scope Controllers Directives *Factories
Module are Container Module Module Config Routes Filter Directive Controller
Controller Factory Service Provider Value
Creating a Module What’s the Array for
Creating a Module What’s the Array for Module that demo
app depend on
Creating a Controller in a Module Define a module Define
a Controller
Role of Routes /view1 /view4 /view2 /view3 View4 View1 View3
View2
Defining Routes Defining module routes
Defining Routes Demo
View 1
View 2
None
None
Using Factories and Services Module Module Config Routes Filter Directive
Controller Factory Service Provider Value
The Role of Factories Factories injected into controller at runtime
Factory Demo
Najam Sikander http://najamsikandar.co Twitter @najamsikandar Blog