PREM KUMAR M
Email: mpremkumardpk@gmail.com
Github Link:
https://github.com/prem2k17/angularPatterns
What is AngularJS ?
• AngularJS is a JavaScript MVC Framework created by Google.
• Focus more on HTML side of web apps.
• It deals everything within the browser, making it an ideal
partner with any server technology
• Angular supports hundreds of JavaScript components to
integrate.
Advantages
• Enhances HTML by attaching directives, custom tags, attributes,
expressions, templates within HTML
• Good for Single Page Applications (SPA)
• Easy Data binding, Two way data binding
• Re-usable Components
• Dependency Injection
• E2E Testing, Unit testing is easier
Where to use AngularJS ?
• Single Page Applications
• Dynamic Web Applications
• RESTful applications
• CRUD based applications
• Mobile applications
Tools Required for
development
• Eclipse or Visual studio code (Code Editor)
• Google Chrome browser (Recommended browser)
• NodeJS (For client server) [Optional]
• GitHub (For accessing external repositories) [Optional]
• NPM, Bower (For managing 3rd party resources) [Optional]
• Gulp (Task runner) [Optional]
Framework Architecture
Angular patterns
LIFT Guideline
Why LIFT ?
Provides a consistent structure that scales well, is modular,
and makes it easier to increase developer efficiency by finding
code quickly.
L – Locating our code easy
I – Identify code at glance
F – Flat structure as long as we can
T – Try to stay dry
Application Structure
Folders by Type Folders by Feature
Dependency Injection
The process of injecting dependent functionality into modules at
run time.
Using an "constructor function".
using an "injectable factory method"
Modules
Angular patterns
Scopes and RootScopes
• Scopes : Accessible inside only particular controller
• RootScopes : Accessible through any controller
Controllers
Controllers are the view handlers. Binds data into view using model
Services
Factories
Services Vs Factory
Directives
• Markers on a DOM element (such as arrtibute, element name,
comment or css class) that tells angularJS HTML compiler
($compile) to attach a specific behaviour
• It works via event listeners
• It also capable to transform the DOM element and its children.
Angular patterns
Filters
• Filters format the value of an expression for display to the user
• They can be used in view templates, controllers or services.
Constants Vs Values
Angular Events
Dynamic views
UI Routing
• UI-Router is a routing framework for AngularJS built by the Angular
Team.
• It changes your application views based on state of the
application and not just the route URL.
Sample UI Routing template
API call using Angular Resource
$resource was meant to retrieve data from an endpoint,
manipulate it and send it back
Angular Resource Methods
Angular patterns
Angular patterns

More Related Content

PPTX
AngularJS
PDF
How to Build Dynamic Forms in Angular Directive with a Backend
PPTX
AngularJS = Browser applications on steroids
PPTX
Angularjs Basics
PPTX
Single page application 02
PPTX
Introduction to angular | Concepts and Environment setup
PPTX
Valentine with Angular js - Introduction
PPTX
Single Page Applications in SharePoint with Angular
AngularJS
How to Build Dynamic Forms in Angular Directive with a Backend
AngularJS = Browser applications on steroids
Angularjs Basics
Single page application 02
Introduction to angular | Concepts and Environment setup
Valentine with Angular js - Introduction
Single Page Applications in SharePoint with Angular

What's hot (20)

PPTX
SoCal Code Camp 2011 - ASP.NET MVC 4
PDF
Mastering angular - Dot Net Tricks
PDF
AngularJS Basics
PPTX
Introduction to ASP.NET MVC
PPTX
Introduction to single page application with angular js
PPTX
Mvc framework
PPTX
Angular JS Indtrodution
PDF
Dot net interview questions and asnwers
PDF
Asp.net mvc basic introduction
PPTX
Introduction to Angular JS
PPTX
Angular introduction basic
PPTX
Angularjs - custom directives part 05
PPTX
Angularjs basic part01
PPTX
The Rails Engine That Could
PPTX
Mortal Kombat! ASP.NET MVC vs ASP.NET Webforms – ASP.NET MVC is amazing
PPTX
Mvc summary
PDF
Asp.NETZERO - A Workshop Presentation by Citytech Software
PPTX
Angular js presentation at Datacom
PPTX
4. Introduction to ASP.NET MVC - Part I
PPTX
Module2
SoCal Code Camp 2011 - ASP.NET MVC 4
Mastering angular - Dot Net Tricks
AngularJS Basics
Introduction to ASP.NET MVC
Introduction to single page application with angular js
Mvc framework
Angular JS Indtrodution
Dot net interview questions and asnwers
Asp.net mvc basic introduction
Introduction to Angular JS
Angular introduction basic
Angularjs - custom directives part 05
Angularjs basic part01
The Rails Engine That Could
Mortal Kombat! ASP.NET MVC vs ASP.NET Webforms – ASP.NET MVC is amazing
Mvc summary
Asp.NETZERO - A Workshop Presentation by Citytech Software
Angular js presentation at Datacom
4. Introduction to ASP.NET MVC - Part I
Module2
Ad

Similar to Angular patterns (20)

PDF
PPTX
Angular js 1.3 basic tutorial
PPTX
Angular js 1.0-fundamentals
PPTX
Intro to AngularJs
PPTX
AngularJS 1.x - your first application (problems and solutions)
PDF
Everything You Need To Know About AngularJS
PPTX
Practical AngularJS
PDF
AngularJS Workshop
PDF
AngularJS in Production (CTO Forum)
PDF
What Is Angular 2 | Angular 2 Tutorial For Beginners | Angular Training | Edu...
PDF
What are the reasons behind growing popularity of AngularJS.pdf
PPTX
Introduction_to_AngularJS............pptx
DOCX
angularjs_tutorial.docx
PPTX
ME vs WEB - AngularJS Fundamentals
PPTX
Training On Angular Js
ODP
AngularJs Crash Course
PPTX
The AngularJS way
Angular js 1.3 basic tutorial
Angular js 1.0-fundamentals
Intro to AngularJs
AngularJS 1.x - your first application (problems and solutions)
Everything You Need To Know About AngularJS
Practical AngularJS
AngularJS Workshop
AngularJS in Production (CTO Forum)
What Is Angular 2 | Angular 2 Tutorial For Beginners | Angular Training | Edu...
What are the reasons behind growing popularity of AngularJS.pdf
Introduction_to_AngularJS............pptx
angularjs_tutorial.docx
ME vs WEB - AngularJS Fundamentals
Training On Angular Js
AngularJs Crash Course
The AngularJS way
Ad

Recently uploaded (20)

PPT
introduction of sql, sql commands(DD,DML,DCL))
PDF
KidsTale AI Review - Create Magical Kids’ Story Videos in 2 Minutes.pdf
PDF
4K Video Downloader Crack + License Key 2025
PPTX
UNIT II: Software design, software .pptx
PPTX
oracle_ebs_12.2_project_cutoveroutage.pptx
PDF
How to Write Automated Test Scripts Using Selenium.pdf
PPTX
Independent Consultants’ Biggest Challenges in ERP Projects – and How Apagen ...
PPT
ch03 data adnd signals- data communications and networks ppt
PDF
DOWNLOAD—IOBit Uninstaller Pro Crack Download Free
PPTX
opentower introduction and the digital twin
PPTX
Empowering Asian Contributions: The Rise of Regional User Groups in Open Sour...
PDF
C language slides for c programming book by ANSI
PPTX
MCP empowers AI Agents from Zero to Production
PPTX
AI Tools Revolutionizing Software Development Workflows
PPTX
Phoenix Marketo User Group: Building Nurtures that Work for Your Audience. An...
PPTX
SIH2024_IDEA_dy_dx_deepfakedetection.pptx
PDF
Enscape 3D Crack + With 2025 Activation Key free
PDF
Module 1 - Introduction to Generative AI.pdf
PDF
10 Mistakes Agile Project Managers Still Make
PPTX
Comprehensive Guide to Digital Image Processing Concepts and Applications
introduction of sql, sql commands(DD,DML,DCL))
KidsTale AI Review - Create Magical Kids’ Story Videos in 2 Minutes.pdf
4K Video Downloader Crack + License Key 2025
UNIT II: Software design, software .pptx
oracle_ebs_12.2_project_cutoveroutage.pptx
How to Write Automated Test Scripts Using Selenium.pdf
Independent Consultants’ Biggest Challenges in ERP Projects – and How Apagen ...
ch03 data adnd signals- data communications and networks ppt
DOWNLOAD—IOBit Uninstaller Pro Crack Download Free
opentower introduction and the digital twin
Empowering Asian Contributions: The Rise of Regional User Groups in Open Sour...
C language slides for c programming book by ANSI
MCP empowers AI Agents from Zero to Production
AI Tools Revolutionizing Software Development Workflows
Phoenix Marketo User Group: Building Nurtures that Work for Your Audience. An...
SIH2024_IDEA_dy_dx_deepfakedetection.pptx
Enscape 3D Crack + With 2025 Activation Key free
Module 1 - Introduction to Generative AI.pdf
10 Mistakes Agile Project Managers Still Make
Comprehensive Guide to Digital Image Processing Concepts and Applications

Angular patterns

  • 1. PREM KUMAR M Email: [email protected] Github Link: https://github.com/prem2k17/angularPatterns
  • 2. What is AngularJS ? • AngularJS is a JavaScript MVC Framework created by Google. • Focus more on HTML side of web apps. • It deals everything within the browser, making it an ideal partner with any server technology • Angular supports hundreds of JavaScript components to integrate.
  • 3. Advantages • Enhances HTML by attaching directives, custom tags, attributes, expressions, templates within HTML • Good for Single Page Applications (SPA) • Easy Data binding, Two way data binding • Re-usable Components • Dependency Injection • E2E Testing, Unit testing is easier
  • 4. Where to use AngularJS ? • Single Page Applications • Dynamic Web Applications • RESTful applications • CRUD based applications • Mobile applications
  • 5. Tools Required for development • Eclipse or Visual studio code (Code Editor) • Google Chrome browser (Recommended browser) • NodeJS (For client server) [Optional] • GitHub (For accessing external repositories) [Optional] • NPM, Bower (For managing 3rd party resources) [Optional] • Gulp (Task runner) [Optional]
  • 8. LIFT Guideline Why LIFT ? Provides a consistent structure that scales well, is modular, and makes it easier to increase developer efficiency by finding code quickly. L – Locating our code easy I – Identify code at glance F – Flat structure as long as we can T – Try to stay dry
  • 9. Application Structure Folders by Type Folders by Feature
  • 10. Dependency Injection The process of injecting dependent functionality into modules at run time. Using an "constructor function". using an "injectable factory method"
  • 13. Scopes and RootScopes • Scopes : Accessible inside only particular controller • RootScopes : Accessible through any controller
  • 14. Controllers Controllers are the view handlers. Binds data into view using model
  • 18. Directives • Markers on a DOM element (such as arrtibute, element name, comment or css class) that tells angularJS HTML compiler ($compile) to attach a specific behaviour • It works via event listeners • It also capable to transform the DOM element and its children.
  • 20. Filters • Filters format the value of an expression for display to the user • They can be used in view templates, controllers or services.
  • 24. UI Routing • UI-Router is a routing framework for AngularJS built by the Angular Team. • It changes your application views based on state of the application and not just the route URL.
  • 25. Sample UI Routing template
  • 26. API call using Angular Resource $resource was meant to retrieve data from an endpoint, manipulate it and send it back