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
AngularJS Fundamentals
Search
codebar
February 10, 2016
Programming
190
0
Share
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
37
Getting Started With Git
codebar
0
84
Codebar pitch in JumpstartPakistan
codebar
0
59
CodeBar Launch
codebar
0
280
Other Decks in Programming
See All in Programming
jQueryをバージョンアップする前に使いたいjQuery Migrate
matsuo_atsushi
0
150
プラグインで拡張される Context をtype-safe にする難しさと設計判断
kazupon
2
540
Composerを使ったサプライチェーン攻撃の様子を眺めてみる #phpstudy
o0h
PRO
2
210
Signal Forms: Beyond the Basics @ngBaguette 2026 in Paris
manfredsteyer
PRO
0
200
JJUG CCC 2026 Spring: JSpecify で実現する Kotlin フレンドリーな Java API 設計
ternbusty
1
130
CLIであることを活かしたGitHub Copilot CLI活用術 / GitHub Copilot CLI Pro Tips & Tricks
nao_mk2
1
1.2k
3Dシーンの圧縮
fadis
1
570
ユニットテストの先へ:テスト技法で要求・仕様を整理するJava開発実践 / Beyond_Unit_Testing_Practical_Java_Development_Techniques_for_Organizing_Requirements_and_Specifications
shimashima35
0
320
作って学ぶ、 JSX (TSX) ランタイムの基本
syumai
7
1.4k
DynamoDBには集計系のクエリがないけどなんとかしたい
musan
1
120
AI 時代のソフトウェア設計の学び方
masuda220
PRO
29
11k
正しくソフトウェアを作る、前提を疑うための認知の視点 / doubt-premise
minodriven
13
4.5k
Featured
See All Featured
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
350
Six Lessons from altMBA
skipperchong
29
4.3k
Technical Leadership for Architectural Decision Making
baasie
3
390
Amusing Abliteration
ianozsvald
1
190
4 Signs Your Business is Dying
shpigford
187
22k
The World Runs on Bad Software
bkeepers
PRO
72
12k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
210
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
720
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
410
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
200
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
190
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