SlideShare a Scribd company logo
㈜유미테크
1. What is Angular?
• Angular is a structural framework for dynamic wep app.
– Let’s you use HTML as a template language.
– Let’s you extend HTML’s syntax to express your app’s components.
– Eliminates much of the code you write through data binding and dependency
injection.
• HTML
– A greate declarative language for static documents.
– But, do not contain much in the way of creating application.
• Angular teaches the browser new syntax.
– Data binding, as in {{}}
– DOM control structures for repeating/hiding DOM fragments
– Support for forms and form validation.
– Attaching code-behind to DOM elements..
– Grouping of HTML into reusable components.
사내전파교육 제목명을 적어주세요.2
2. A Complete client-side solution
• Handles all of the DOM and AJAX code you once wrote by hand, and make
sure that you can easily change at a starting point.
– Everything you need: data-binding, basic templating directives, form validation,
routing, deep-linking, reusable components, dependency injection.
– Testability story: unit-testing, end-to-end testing, mocks, test harness.
– Seed application with directory layout and test scripts as a starting point.
사내전파교육 제목명을 적어주세요.3
3. Angular Sweet Spot
• Angular simplifies application development by presenting a higher level of
abstraction to the developer.
• Every app is a good fit for Angular.
• Angular was built with the CRUD application in mind.
사내전파교육 제목명을 적어주세요.4
4. The Zen of Angular
• Angular is built around the belief that declarative code is better than
imperative when it comes to building UIs and wiring software components
together.
– Good to decouple DOM manipulation from app logic.
– Good to regard app testing as equal in importance to app writing.
– Excellent to decouple the client side of an app from the server side.
– Helpful indeed if the framework guides developers through the entire journey of
building an app: from designing the UI, through writing the business logic, to testing.
– Good to make common tasks trivial and difficult tasks possible.
사내전파교육 제목명을 적어주세요.5
5. Angular frees you from what!
• Registering callbacks:
– It vastly reduces the amount of JavaScript coding you have to do, and it makes it
easier to see what your application does.
• Manipulating HTML DOM programmatically:
– By declaratively describing how the UI should change as your application state
changes, you are freed from low-level DOM manipulation tasks.
• Marshaling data to and from the UI:
– Angular eliminates almost all of this boilerplate, leaving code that describes the
overall flow of the application rather than all of the implementation details.
• Writing tons of initialization code just to get started:
– With Angular you can bootstrap your app easily using services, which are auto-
injected into your application in a Guice-like dependency-injection style.
사내전파교육 제목명을 적어주세요.6
6. Conceptual Overview
• Template
– HTML with additional markup
• Directives
– extend HTML with custom attributes and elements
• Model
– the data that is shown to the user and with which the user interacts
• Scope
– context where the model is stored so that controllers, directives and expressions can
access it
• Expressions
– access variables and functions from the scope
• Compiler
– parses the template and instantiates directives and expressions
• Filter
– formats the value of an expression for display to the user
사내전파교육 제목명을 적어주세요.7
6. Conceptual Overview Cont’d
• View
– what the user sees (the DOM)
• Data Binding
– sync data between the model and the view
• Controller
– the business logic behind views
• Dependency Injection
– Creates and wires objects / functions
• Injector
– dependency injection container
• Module
– configures the Injector
• Service
– reusable business logic independent of views
사내전파교육 제목명을 적어주세요.8
7. Bootstrap (one of details)
• Angular <script> tag
– Placing script tags at the end of the page improves app load time because the HTML
loading is not blocked by loading of the angular.js script.
– Place ng-app to the root of your application, typically on the <html> tag if you want
angular to auto-bootstrap your application.
사내전파교육 제목명을 적어주세요.9
7. Bootstrap Cont’d
• Angular initialize Process
– initializes automatically upon DOMContentLoaded event or when the angular.js script
is evaluated if at that time document.readyState is set to 'complete'.
– load the module associated with the directive.
– create the application injector
– compile the DOM treating the ng-app directive as the root of the compilation.
사내전파교육 제목명을 적어주세요.10
7. Bootstrap Cont’d
• Angular automatic & manual initialize script code.
– Automatic
– Manual
사내전파교육 제목명을 적어주세요.11
8. HTML Compiler (one of details)
• Overview
– what is need is a way to teach the browser new HTML syntax.
– AngularUS provides HTML directives extensions
– You will create a Domain Specific Language for building your application.
• Compiler
– Compile: traverse the DOM and collect all of the directives.
– Link: combine the directives with a scope and produce a live view.
사내전파교육 제목명을 적어주세요.12
8. HTML Compiler Cont’d
• Other templating system
– any changes to the data need to be re-merged with the template and then
innerHTMLed into the DOM.
• AngularJS
– Angular compiler consumes the DOM, not string templates and a linking function,
which when combined with a scope model results in a live view is the result.
– The view and scope model bindings are transparent.
사내전파교육 제목명을 적어주세요.13
Other templating system Angular JS
8. HTML Compiler Cont’d
• Other’s approaches
– reading user input and merging it with data
– clobbering user input by overwriting it
– managing the whole update process
– lack of behavior expressiveness
• AngularJS’s approaches
– approach produces a stable DOM.
– The DOM element instance bound to a model item instance does not change for the
lifetime of the binding.
사내전파교육 제목명을 적어주세요.14
8. HTML Compiler Cont’d
• Compile directives
– $compile traverses the DOM and matches directives.
– $compile links the template with the scope by calling the combined linking function.
– This in turn will call the linking function of the individual directives, registering
listeners
– The result of this is a live binding between the scope and the DOM. So at this point,
a change in a model on the compiled scope will be reflected in the DOM.
사내전파교육 제목명을 적어주세요.15
9. Code compare vs jQuery
• When you input the name, reflect it to the input text.
사내전파교육 제목명을 적어주세요.16
via jQuery via AngularJS
10. References
• AnguarJS Official Site
– http://www.angularjs.org
• Developer Guide
– http://docs.angularjs.org/guide
• API
– http://docs.angularjs.org/api
사내전파교육 제목명을 적어주세요.17

More Related Content

PPTX
Angular js
PPTX
Angular vs. AngularJS: A Complete Comparison Guide
PPTX
Angular JS training institute in Jaipur
PPTX
AngularJS = Browser applications on steroids
PDF
The New Way of Developing with AEM 6.0 | Sightly | Beautiful Markup
PPTX
Introduction to AngularJS
PPTX
Bridging the Gap: Single-Page Apps and AEM
Angular js
Angular vs. AngularJS: A Complete Comparison Guide
Angular JS training institute in Jaipur
AngularJS = Browser applications on steroids
The New Way of Developing with AEM 6.0 | Sightly | Beautiful Markup
Introduction to AngularJS
Bridging the Gap: Single-Page Apps and AEM

What's hot (20)

PPTX
Angularjs overview
PDF
Itroducing Angular JS
PPTX
Angularjs PPT
PPTX
Angular crash course
PPTX
Introduction to AngularJS Framework
PPT
CTTDNUG ASP.NET MVC
PDF
Introduction to Angular Js
PPTX
Go live with angular 4
PDF
Mastering angular - Dot Net Tricks
PDF
AngularJS - introduction & how it works?
PPSX
Angular 4 fronts
PDF
Angularjs tutorial
PDF
PDF
Adobe Experience Manager Core Components
PDF
PPTX
OCTO BOF - How to build Netvibes with AngularJS
PPTX
Angular 4 and TypeScript
PDF
Introduction to AngularJS By Bharat Makwana
PPTX
Angular js 1.3 presentation for fed nov 2014
PPTX
Angular js presentation at Datacom
Angularjs overview
Itroducing Angular JS
Angularjs PPT
Angular crash course
Introduction to AngularJS Framework
CTTDNUG ASP.NET MVC
Introduction to Angular Js
Go live with angular 4
Mastering angular - Dot Net Tricks
AngularJS - introduction & how it works?
Angular 4 fronts
Angularjs tutorial
Adobe Experience Manager Core Components
OCTO BOF - How to build Netvibes with AngularJS
Angular 4 and TypeScript
Introduction to AngularJS By Bharat Makwana
Angular js 1.3 presentation for fed nov 2014
Angular js presentation at Datacom
Ad

Viewers also liked (8)

PDF
Angular js Frontenders Valencia
PDF
¿Qué es AngularJS? Un vistazo de 45 minutos
PDF
Por qué AngularJS
PDF
Angular js
PPTX
Angular js for beginners
PPTX
Angular js
PPTX
Building modular enterprise scale angular js applications
PDF
UI DEVELOPER/ ANGULAR JS
Angular js Frontenders Valencia
¿Qué es AngularJS? Un vistazo de 45 minutos
Por qué AngularJS
Angular js
Angular js for beginners
Angular js
Building modular enterprise scale angular js applications
UI DEVELOPER/ ANGULAR JS
Ad

Similar to Angular js (20)

PDF
Angular Roadmap For Beginner PDF By ScholarHat.pdf
DOCX
The Ultimate Guide to Hiring Angular Developers
PDF
Webinar on Angular JS titled 'Develop Responsive Single Page Application'
PDF
Angular JS - Develop Responsive Single Page Application
PPTX
Module 1.pptx Angular JS FRAMEWORK WEBDEVELOPMENT
PDF
AngularJS A comprehensive beginner s guide to angular js 3nd Edition Rufus St...
PDF
AngularJS : Superheroic JavaScript MVW Framework
PDF
AngularJS Curriculum-Zeolearn
PPTX
Angular Js Advantages - Complete Reference
DOCX
angular js and node js training in hyderabad
PPTX
Understanding The Significance of Angular Training.pptx
PPTX
ME vs WEB - AngularJS Fundamentals
PPTX
Training On Angular Js
PDF
[Ebooks PDF] download AngularJS 1st Edition Brad Green full chapters
PDF
AngularJS in Production (CTO Forum)
PPTX
angular js
PDF
Why Angular It's Still a Top Choice for Developers in 2025.pdf
PPTX
Angular training - Day 3 - custom directives, $http, $resource, setup with ye...
PDF
Full Stack Developer Course | Infinite Graphix Technologies
PPTX
Angular js & Reactjs 접근방법
Angular Roadmap For Beginner PDF By ScholarHat.pdf
The Ultimate Guide to Hiring Angular Developers
Webinar on Angular JS titled 'Develop Responsive Single Page Application'
Angular JS - Develop Responsive Single Page Application
Module 1.pptx Angular JS FRAMEWORK WEBDEVELOPMENT
AngularJS A comprehensive beginner s guide to angular js 3nd Edition Rufus St...
AngularJS : Superheroic JavaScript MVW Framework
AngularJS Curriculum-Zeolearn
Angular Js Advantages - Complete Reference
angular js and node js training in hyderabad
Understanding The Significance of Angular Training.pptx
ME vs WEB - AngularJS Fundamentals
Training On Angular Js
[Ebooks PDF] download AngularJS 1st Edition Brad Green full chapters
AngularJS in Production (CTO Forum)
angular js
Why Angular It's Still a Top Choice for Developers in 2025.pdf
Angular training - Day 3 - custom directives, $http, $resource, setup with ye...
Full Stack Developer Course | Infinite Graphix Technologies
Angular js & Reactjs 접근방법

More from ymtech (20)

PPTX
20171120 tech day-11th-소프트웨어 테스팅2-서현용
PPTX
20170908 tech day-9th-재미없는 java runtime process 디버그-김성중
PPTX
20170713 tech day_7th_pxe 부팅-김주한
PPTX
20170609 tech day_4th-nginx(lb)-이재훈
PPTX
20170519 tech day-3rd-highcharts를 이용한 차트 구현-김영석
PPTX
20170414 techday 2nd_uiux디자인-최민희
PPTX
20170310 tech day-1st-maven을 이용한 프로그램 빌드-박준홍
PPTX
Mikrotic CCR1036 라우팅 설정
PPTX
Cubietruck 리눅스 이미지 설치
PPTX
Installation Openstack Swift
PPTX
Welcome to keystone the open stack identity service_v1.0.0-20141208-1212
PPTX
Ubuntu Host AP Setting
PPTX
Intel Galileo Linux Setting
PPTX
MarsBoard RK3066 Linux 설치
PPTX
HP 3800-24G-2SFP OpenFlow Setting
PDF
Openstack Instance Resize
PDF
Openstack live migration
PPTX
SDN OpenFlow Load Balancer 시나리오
PPTX
TR-069 클라이언트 검토자료8편
PPTX
TR-069 클라이언트 검토자료7편
20171120 tech day-11th-소프트웨어 테스팅2-서현용
20170908 tech day-9th-재미없는 java runtime process 디버그-김성중
20170713 tech day_7th_pxe 부팅-김주한
20170609 tech day_4th-nginx(lb)-이재훈
20170519 tech day-3rd-highcharts를 이용한 차트 구현-김영석
20170414 techday 2nd_uiux디자인-최민희
20170310 tech day-1st-maven을 이용한 프로그램 빌드-박준홍
Mikrotic CCR1036 라우팅 설정
Cubietruck 리눅스 이미지 설치
Installation Openstack Swift
Welcome to keystone the open stack identity service_v1.0.0-20141208-1212
Ubuntu Host AP Setting
Intel Galileo Linux Setting
MarsBoard RK3066 Linux 설치
HP 3800-24G-2SFP OpenFlow Setting
Openstack Instance Resize
Openstack live migration
SDN OpenFlow Load Balancer 시나리오
TR-069 클라이언트 검토자료8편
TR-069 클라이언트 검토자료7편

Recently uploaded (20)

PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
AI in Product Development-omnex systems
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PPTX
history of c programming in notes for students .pptx
PPTX
Essential Infomation Tech presentation.pptx
PDF
System and Network Administraation Chapter 3
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
Digital Strategies for Manufacturing Companies
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PPTX
Transform Your Business with a Software ERP System
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PPTX
Reimagine Home Health with the Power of Agentic AI​
PPTX
Introduction to Artificial Intelligence
PDF
Softaken Excel to vCard Converter Software.pdf
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
2025 Textile ERP Trends: SAP, Odoo & Oracle
Odoo Companies in India – Driving Business Transformation.pdf
Operating system designcfffgfgggggggvggggggggg
How to Choose the Right IT Partner for Your Business in Malaysia
AI in Product Development-omnex systems
Design an Analysis of Algorithms I-SECS-1021-03
Navsoft: AI-Powered Business Solutions & Custom Software Development
history of c programming in notes for students .pptx
Essential Infomation Tech presentation.pptx
System and Network Administraation Chapter 3
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
Digital Strategies for Manufacturing Companies
VVF-Customer-Presentation2025-Ver1.9.pptx
Transform Your Business with a Software ERP System
wealthsignaloriginal-com-DS-text-... (1).pdf
Reimagine Home Health with the Power of Agentic AI​
Introduction to Artificial Intelligence
Softaken Excel to vCard Converter Software.pdf
Internet Downloader Manager (IDM) Crack 6.42 Build 41

Angular js

  • 2. 1. What is Angular? • Angular is a structural framework for dynamic wep app. – Let’s you use HTML as a template language. – Let’s you extend HTML’s syntax to express your app’s components. – Eliminates much of the code you write through data binding and dependency injection. • HTML – A greate declarative language for static documents. – But, do not contain much in the way of creating application. • Angular teaches the browser new syntax. – Data binding, as in {{}} – DOM control structures for repeating/hiding DOM fragments – Support for forms and form validation. – Attaching code-behind to DOM elements.. – Grouping of HTML into reusable components. 사내전파교육 제목명을 적어주세요.2
  • 3. 2. A Complete client-side solution • Handles all of the DOM and AJAX code you once wrote by hand, and make sure that you can easily change at a starting point. – Everything you need: data-binding, basic templating directives, form validation, routing, deep-linking, reusable components, dependency injection. – Testability story: unit-testing, end-to-end testing, mocks, test harness. – Seed application with directory layout and test scripts as a starting point. 사내전파교육 제목명을 적어주세요.3
  • 4. 3. Angular Sweet Spot • Angular simplifies application development by presenting a higher level of abstraction to the developer. • Every app is a good fit for Angular. • Angular was built with the CRUD application in mind. 사내전파교육 제목명을 적어주세요.4
  • 5. 4. The Zen of Angular • Angular is built around the belief that declarative code is better than imperative when it comes to building UIs and wiring software components together. – Good to decouple DOM manipulation from app logic. – Good to regard app testing as equal in importance to app writing. – Excellent to decouple the client side of an app from the server side. – Helpful indeed if the framework guides developers through the entire journey of building an app: from designing the UI, through writing the business logic, to testing. – Good to make common tasks trivial and difficult tasks possible. 사내전파교육 제목명을 적어주세요.5
  • 6. 5. Angular frees you from what! • Registering callbacks: – It vastly reduces the amount of JavaScript coding you have to do, and it makes it easier to see what your application does. • Manipulating HTML DOM programmatically: – By declaratively describing how the UI should change as your application state changes, you are freed from low-level DOM manipulation tasks. • Marshaling data to and from the UI: – Angular eliminates almost all of this boilerplate, leaving code that describes the overall flow of the application rather than all of the implementation details. • Writing tons of initialization code just to get started: – With Angular you can bootstrap your app easily using services, which are auto- injected into your application in a Guice-like dependency-injection style. 사내전파교육 제목명을 적어주세요.6
  • 7. 6. Conceptual Overview • Template – HTML with additional markup • Directives – extend HTML with custom attributes and elements • Model – the data that is shown to the user and with which the user interacts • Scope – context where the model is stored so that controllers, directives and expressions can access it • Expressions – access variables and functions from the scope • Compiler – parses the template and instantiates directives and expressions • Filter – formats the value of an expression for display to the user 사내전파교육 제목명을 적어주세요.7
  • 8. 6. Conceptual Overview Cont’d • View – what the user sees (the DOM) • Data Binding – sync data between the model and the view • Controller – the business logic behind views • Dependency Injection – Creates and wires objects / functions • Injector – dependency injection container • Module – configures the Injector • Service – reusable business logic independent of views 사내전파교육 제목명을 적어주세요.8
  • 9. 7. Bootstrap (one of details) • Angular <script> tag – Placing script tags at the end of the page improves app load time because the HTML loading is not blocked by loading of the angular.js script. – Place ng-app to the root of your application, typically on the <html> tag if you want angular to auto-bootstrap your application. 사내전파교육 제목명을 적어주세요.9
  • 10. 7. Bootstrap Cont’d • Angular initialize Process – initializes automatically upon DOMContentLoaded event or when the angular.js script is evaluated if at that time document.readyState is set to 'complete'. – load the module associated with the directive. – create the application injector – compile the DOM treating the ng-app directive as the root of the compilation. 사내전파교육 제목명을 적어주세요.10
  • 11. 7. Bootstrap Cont’d • Angular automatic & manual initialize script code. – Automatic – Manual 사내전파교육 제목명을 적어주세요.11
  • 12. 8. HTML Compiler (one of details) • Overview – what is need is a way to teach the browser new HTML syntax. – AngularUS provides HTML directives extensions – You will create a Domain Specific Language for building your application. • Compiler – Compile: traverse the DOM and collect all of the directives. – Link: combine the directives with a scope and produce a live view. 사내전파교육 제목명을 적어주세요.12
  • 13. 8. HTML Compiler Cont’d • Other templating system – any changes to the data need to be re-merged with the template and then innerHTMLed into the DOM. • AngularJS – Angular compiler consumes the DOM, not string templates and a linking function, which when combined with a scope model results in a live view is the result. – The view and scope model bindings are transparent. 사내전파교육 제목명을 적어주세요.13 Other templating system Angular JS
  • 14. 8. HTML Compiler Cont’d • Other’s approaches – reading user input and merging it with data – clobbering user input by overwriting it – managing the whole update process – lack of behavior expressiveness • AngularJS’s approaches – approach produces a stable DOM. – The DOM element instance bound to a model item instance does not change for the lifetime of the binding. 사내전파교육 제목명을 적어주세요.14
  • 15. 8. HTML Compiler Cont’d • Compile directives – $compile traverses the DOM and matches directives. – $compile links the template with the scope by calling the combined linking function. – This in turn will call the linking function of the individual directives, registering listeners – The result of this is a live binding between the scope and the DOM. So at this point, a change in a model on the compiled scope will be reflected in the DOM. 사내전파교육 제목명을 적어주세요.15
  • 16. 9. Code compare vs jQuery • When you input the name, reflect it to the input text. 사내전파교육 제목명을 적어주세요.16 via jQuery via AngularJS
  • 17. 10. References • AnguarJS Official Site – http://www.angularjs.org • Developer Guide – http://docs.angularjs.org/guide • API – http://docs.angularjs.org/api 사내전파교육 제목명을 적어주세요.17