SlideShare a Scribd company logo
5 awesome features in
Angular JS
Presenter: Padmalochan, Mindfire Solutions
Date: 17/11/2014
About Me
I am Padmalochan Maharana, working as web developer at Mindfire Solutions
since 3.2 years.
Key skills :
Asp.Net MVC 4.0, C#, Entity Framework, Javascript, Jquery, HTML5, CSS3,
RESTful API, Angular.js.
Specialist in Backbone.js
Curently having 3 certification
MCTS-70-515 - Microsoft .NET 4.0, Web App Development
MCP - 70-486 - Developing ASP.NET MVC 4 Web Applications
MCP:70-480 - Specialist certification in HTML5 with JavaScript and CSS3 Exam
Presenter: Padmalochan, Mindfire Solutions
Presenter: Padmalochan, Mindfire Solutions
Agenda
 Angular JS Basics (MV* Architecture)
 Two way Data-Binding
 Dependency Injection
 Templates
 Directives
 Model, Services and Factory
 Working with RESTful API
Presenter: Padmalochan, Mindfire Solutions
Presenter: Padmalochan, Mindfire Solutions
Angular JS is a SPA Framework
 Single Page Applications.
 No round tripping
 Loads all of resources at one go.
 Its a concept not proper definition
 Rich user experience.
 Net latency is reduced.
 Performance is increased.
Presenter: Padmalochan, Mindfire Solutions
Why Angular
Presenter: Padmalochan, Mindfire Solutions
Presenter: Padmalochan, Mindfire Solutions
MV* Architecture
Choose whatever architecture suits you best.
Presenter: Padmalochan, Mindfire Solutions
Two-Way Data Binding
Presenter: Padmalochan, Mindfire Solutions
Controller and $scope
$scope is a glue between the Controller and the View
The controller is responsible for constructing the model on
$scope and providing commands for the view.
$scope an object that refers to application model.
It can watch expressions and propagate events.
Controllers shouldn't know any thing about view they control.
They should not own the domain model.
Presenter: Padmalochan, Mindfire Solutions
Dependency Injection
Dependency Injection (DI) is a software design pattern that deals
with how components get hold of their dependencies. Angular JS
comes with a built-in dependency injection mechanism. You can
divide your angular js app into multiple different types of
components which angular js can inject into each other.
There are 3 ways of injecting dependencies :
A. From function Parameter
<script type="text/javascript">
function Controller($scope, greeter) {
// ...
}
</script>
Presenter: Padmalochan, Mindfire Solutions
Dependency Injection
B. From $inject property
<script type="text/javascript">
var MyController = function(renamed$scope, renamedGreeter) {
// TODO...
}
MyController['$inject'] = ['$scope', 'greeter'];
</script>
C. Inline Array
<script type="text/javascript">
someModule.factory('greeter', ['$window', function(renamed$window) {
// ...
}]);
</script>
Presenter: Padmalochan, Mindfire Solutions
Directives
Data is attached to $scope which is used to display in View.
Model doesn't know about view.
Data Binding moves model data to view.
<script type=”text/javascript”>
Var controller = function($scope){
$scope.message=”hello world”;
}
</script>
<div> {{ message }} </div>
Presenter: Padmalochan, Mindfire Solutions
Data binding , Expression
and Scopes
$compile compiles the DOM into a template function that
can be used to bind the view and scope together.
$digest processes all of the watchers of current scope
$apply() is used to notify that something has happened
outside of Angular JS domain
$apply forces a $digest cycle
Custom watch and digest
Presenter: Padmalochan, Mindfire Solutions
Data binding , Expression
and Scopes
Presenter: Padmalochan, Mindfire Solutions
Data binding , Expression
and Scopes
Presenter: Padmalochan, Mindfire Solutions
Services and Factory
service factory
module.service('MyService', function() {
this.method1 = function() {
//..
}
this.method2 = function() {
//..
}
});
module.factory('MyFactory', function() {
var factory = {};
factory.method1 = function() {
//..
}
factory.method2 = function() {
//..
}
return factory;
});
service(class) - registers a constructor function, class that will be wrapped in a service
provider object, whose $get property will instantiate a new object using the given
constructor function.
factory(fn) - registers a service factory function, fn, that will be wrapped in a service
provider object, whose $get property will contain the given factory function.
Presenter: Padmalochan, Mindfire Solutions
References
https://github.com/jmcunningham/AngularJS-Learning
www.mindfiresolutions.com
SAMPLE CASE STUDY
Online Statistical Sports Data System
This client of ours is a sports statistical
media company specializing in high
school sports. They provided this high
school sports statistical data through
recording, display and storage of
athletic events through multimedia
outlets which included online viewing
and mobile phone access. They had a
range of products and were involved
into research and development of their
products. Recently, they came up with
an Adobe AIR stat recorder application
capable of producing box score display
with the help of local programmers.
Click here to know more 
Presenter: Padmalochan, Mindfire Solutions
Question and Answer
Presenter: Padmalochan, Mindfire Solutions
Thank you
www.mindfiresolutions.com
https://www.facebook.com/MindfireSolutions
http://www.linkedin.com/company/mindfire-solutions
http://twitter.com/mindfires

More Related Content

What's hot (20)

PPTX
Django Seminar
Yokesh Rana
 
PPTX
What is an API?
Muhammad Zuhdi
 
PPTX
Android Internship report presentation
vinayh.vaghamshi _
 
PDF
WEB I - 01 - Introduction to Web Development
Randy Connolly
 
PPTX
Rest API
Rohana K Amarakoon
 
PPTX
Angular introduction students
Christian John Felix
 
PPTX
Introduction to Android and Android Studio
Suyash Srijan
 
PDF
Angular Project Report
Kodexhub
 
DOCX
Angular Interview Questions & Answers
Ratnala Charan kumar
 
PPTX
Restful web services ppt
OECLIB Odisha Electronics Control Library
 
PPTX
Android Project Presentation
Laxmi Kant Yadav
 
PDF
Angular - Chapter 7 - HTTP Services
WebStackAcademy
 
PDF
Android Components
Aatul Palandurkar
 
PPT
Web Development on Web Project Presentation
Milind Gokhale
 
PDF
Swagger With REST APIs.pptx.pdf
Knoldus Inc.
 
PPT
Angular App Presentation
Elizabeth Long
 
PPTX
Angular modules in depth
Christoffer Noring
 
PPTX
Angularjs PPT
Amit Baghel
 
PPTX
MERN PPT
NeerajGupta96647
 
Django Seminar
Yokesh Rana
 
What is an API?
Muhammad Zuhdi
 
Android Internship report presentation
vinayh.vaghamshi _
 
WEB I - 01 - Introduction to Web Development
Randy Connolly
 
Angular introduction students
Christian John Felix
 
Introduction to Android and Android Studio
Suyash Srijan
 
Angular Project Report
Kodexhub
 
Angular Interview Questions & Answers
Ratnala Charan kumar
 
Android Project Presentation
Laxmi Kant Yadav
 
Angular - Chapter 7 - HTTP Services
WebStackAcademy
 
Android Components
Aatul Palandurkar
 
Web Development on Web Project Presentation
Milind Gokhale
 
Swagger With REST APIs.pptx.pdf
Knoldus Inc.
 
Angular App Presentation
Elizabeth Long
 
Angular modules in depth
Christoffer Noring
 
Angularjs PPT
Amit Baghel
 

Viewers also liked (17)

PDF
Angular JS Introduction
Dhyego Fernando
 
PPTX
Angular js
ronhall13
 
PDF
"Dependency Injection. JavaScript.", Сергей Камардин, MoscowJS 15
MoscowJS
 
PDF
Angular from Scratch
Christian Lilley
 
PPTX
AngularJS is awesome
Eusebiu Schipor
 
PDF
I'm Postal for Promises in Angular
Christian Lilley
 
ODP
Introduction to Angular js
Mustafa Gamal
 
PDF
Dependency Injection Pattern in JavaScript, Speakers' Corner by Evgeny Dmitri...
Ciklum Minsk
 
PPT
Soa Runtime Governance Practices
Michiel.Kemperman
 
PPTX
Live Demo : Trending Angular JS Featues
Edureka!
 
PDF
Angular JS - Develop Responsive Single Page Application
Edureka!
 
PPTX
Introduction about-ajax-framework
Sakthi Bro
 
PPTX
Introduction to Angular JS
Santhosh Kumar Srinivasan
 
PDF
AngularJS - What is it & Why is it awesome ? (with demos)
Gary Arora
 
PDF
AngularJS Basics with Example
Sergey Bolshchikov
 
PPTX
Why angular js Framework
Sakthi Bro
 
PPTX
Introduction to Angularjs
Manish Shekhawat
 
Angular JS Introduction
Dhyego Fernando
 
Angular js
ronhall13
 
"Dependency Injection. JavaScript.", Сергей Камардин, MoscowJS 15
MoscowJS
 
Angular from Scratch
Christian Lilley
 
AngularJS is awesome
Eusebiu Schipor
 
I'm Postal for Promises in Angular
Christian Lilley
 
Introduction to Angular js
Mustafa Gamal
 
Dependency Injection Pattern in JavaScript, Speakers' Corner by Evgeny Dmitri...
Ciklum Minsk
 
Soa Runtime Governance Practices
Michiel.Kemperman
 
Live Demo : Trending Angular JS Featues
Edureka!
 
Angular JS - Develop Responsive Single Page Application
Edureka!
 
Introduction about-ajax-framework
Sakthi Bro
 
Introduction to Angular JS
Santhosh Kumar Srinivasan
 
AngularJS - What is it & Why is it awesome ? (with demos)
Gary Arora
 
AngularJS Basics with Example
Sergey Bolshchikov
 
Why angular js Framework
Sakthi Bro
 
Introduction to Angularjs
Manish Shekhawat
 
Ad

Similar to Angular Seminar-js (20)

PDF
Creating MVC Application with backbone js
Mindfire Solutions
 
PPTX
JavaScripters Event Oct 22, 2016 · 2:00 PM: Common Mistakes made by Angular D...
JavaScripters Community
 
PPTX
Angular Js Basics
أحمد عبد الوهاب
 
PPTX
Understanding angular js
Aayush Shrestha
 
ODP
Angular js-crash-course
Keith Bloomfield
 
PPTX
Mean stack Magics
Aishura Aishu
 
PPTX
SharePoint Saturday Atlanta 2015
Pushkar Chivate
 
PPTX
Introduction to single page application with angular js
Mindfire Solutions
 
PDF
Spring Framework-II
People Strategists
 
PDF
MVC Design Pattern in JavaScript by ADMEC Multimedia Institute
Ravi Bhadauria
 
ODP
AngularJs Crash Course
Keith Bloomfield
 
PPTX
AngularJs Workshop SDP December 28th 2014
Ran Wahle
 
PPTX
Top 10 Mistakes AngularJS Developers Make
Mark Meyer
 
PPTX
angularJs Workshop
Ran Wahle
 
PDF
From User Action to Framework Reaction
jbandi
 
PPTX
AngularJS training - Day 1 - Basics: Why, What and basic features of AngularJS
murtazahaveliwala
 
PPTX
Intoduction to Angularjs
Gaurav Agrawal
 
PPTX
AgularJS basics- angular directives and controllers
jobinThomas54
 
PDF
Building richwebapplicationsusingasp
Giovanni Javier Jimenez Cadena
 
PDF
From User Action to Framework Reaction
Jonas Bandi
 
Creating MVC Application with backbone js
Mindfire Solutions
 
JavaScripters Event Oct 22, 2016 · 2:00 PM: Common Mistakes made by Angular D...
JavaScripters Community
 
Angular Js Basics
أحمد عبد الوهاب
 
Understanding angular js
Aayush Shrestha
 
Angular js-crash-course
Keith Bloomfield
 
Mean stack Magics
Aishura Aishu
 
SharePoint Saturday Atlanta 2015
Pushkar Chivate
 
Introduction to single page application with angular js
Mindfire Solutions
 
Spring Framework-II
People Strategists
 
MVC Design Pattern in JavaScript by ADMEC Multimedia Institute
Ravi Bhadauria
 
AngularJs Crash Course
Keith Bloomfield
 
AngularJs Workshop SDP December 28th 2014
Ran Wahle
 
Top 10 Mistakes AngularJS Developers Make
Mark Meyer
 
angularJs Workshop
Ran Wahle
 
From User Action to Framework Reaction
jbandi
 
AngularJS training - Day 1 - Basics: Why, What and basic features of AngularJS
murtazahaveliwala
 
Intoduction to Angularjs
Gaurav Agrawal
 
AgularJS basics- angular directives and controllers
jobinThomas54
 
Building richwebapplicationsusingasp
Giovanni Javier Jimenez Cadena
 
From User Action to Framework Reaction
Jonas Bandi
 
Ad

More from Mindfire Solutions (20)

PDF
Physician Search and Review
Mindfire Solutions
 
PDF
diet management app
Mindfire Solutions
 
PDF
Business Technology Solution
Mindfire Solutions
 
PDF
Remote Health Monitoring
Mindfire Solutions
 
PDF
Influencer Marketing Solution
Mindfire Solutions
 
PPT
High Availability of Azure Applications
Mindfire Solutions
 
PPTX
IOT Hands On
Mindfire Solutions
 
PPTX
Glimpse of Loops Vs Set
Mindfire Solutions
 
ODP
Oracle Sql Developer-Getting Started
Mindfire Solutions
 
PPT
Adaptive Layout In iOS 8
Mindfire Solutions
 
PPT
Introduction to Auto-layout : iOS/Mac
Mindfire Solutions
 
PPT
LINQPad - utility Tool
Mindfire Solutions
 
PPT
Get started with watch kit development
Mindfire Solutions
 
PPTX
Swift vs Objective-C
Mindfire Solutions
 
ODP
Material Design in Android
Mindfire Solutions
 
ODP
Introduction to OData
Mindfire Solutions
 
PPT
Ext js Part 2- MVC
Mindfire Solutions
 
PPT
ExtJs Basic Part-1
Mindfire Solutions
 
PPT
Spring Security Introduction
Mindfire Solutions
 
Physician Search and Review
Mindfire Solutions
 
diet management app
Mindfire Solutions
 
Business Technology Solution
Mindfire Solutions
 
Remote Health Monitoring
Mindfire Solutions
 
Influencer Marketing Solution
Mindfire Solutions
 
High Availability of Azure Applications
Mindfire Solutions
 
IOT Hands On
Mindfire Solutions
 
Glimpse of Loops Vs Set
Mindfire Solutions
 
Oracle Sql Developer-Getting Started
Mindfire Solutions
 
Adaptive Layout In iOS 8
Mindfire Solutions
 
Introduction to Auto-layout : iOS/Mac
Mindfire Solutions
 
LINQPad - utility Tool
Mindfire Solutions
 
Get started with watch kit development
Mindfire Solutions
 
Swift vs Objective-C
Mindfire Solutions
 
Material Design in Android
Mindfire Solutions
 
Introduction to OData
Mindfire Solutions
 
Ext js Part 2- MVC
Mindfire Solutions
 
ExtJs Basic Part-1
Mindfire Solutions
 
Spring Security Introduction
Mindfire Solutions
 

Recently uploaded (20)

PPTX
OpenChain @ OSS NA - In From the Cold: Open Source as Part of Mainstream Soft...
Shane Coughlan
 
PPTX
Tally software_Introduction_Presentation
AditiBansal54083
 
PDF
SAP Firmaya İade ABAB Kodları - ABAB ile yazılmıl hazır kod örneği
Salih Küçük
 
PDF
Download Canva Pro 2025 PC Crack Full Latest Version
bashirkhan333g
 
PDF
NEW-Viral>Wondershare Filmora 14.5.18.12900 Crack Free
sherryg1122g
 
PDF
Build It, Buy It, or Already Got It? Make Smarter Martech Decisions
bbedford2
 
PDF
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 
PPTX
Homogeneity of Variance Test Options IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
vMix Pro 28.0.0.42 Download vMix Registration key Bundle
kulindacore
 
PDF
[Solution] Why Choose the VeryPDF DRM Protector Custom-Built Solution for You...
Lingwen1998
 
PDF
4K Video Downloader Plus Pro Crack for MacOS New Download 2025
bashirkhan333g
 
PPTX
Comprehensive Risk Assessment Module for Smarter Risk Management
EHA Soft Solutions
 
PDF
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 
PDF
TheFutureIsDynamic-BoxLang witch Luis Majano.pdf
Ortus Solutions, Corp
 
PPTX
Agentic Automation Journey Session 1/5: Context Grounding and Autopilot for E...
klpathrudu
 
PDF
SciPy 2025 - Packaging a Scientific Python Project
Henry Schreiner
 
PPTX
Help for Correlations in IBM SPSS Statistics.pptx
Version 1 Analytics
 
PDF
Empower Your Tech Vision- Why Businesses Prefer to Hire Remote Developers fro...
logixshapers59
 
PDF
Automate Cybersecurity Tasks with Python
VICTOR MAESTRE RAMIREZ
 
PPTX
Hardware(Central Processing Unit ) CU and ALU
RizwanaKalsoom2
 
OpenChain @ OSS NA - In From the Cold: Open Source as Part of Mainstream Soft...
Shane Coughlan
 
Tally software_Introduction_Presentation
AditiBansal54083
 
SAP Firmaya İade ABAB Kodları - ABAB ile yazılmıl hazır kod örneği
Salih Küçük
 
Download Canva Pro 2025 PC Crack Full Latest Version
bashirkhan333g
 
NEW-Viral>Wondershare Filmora 14.5.18.12900 Crack Free
sherryg1122g
 
Build It, Buy It, or Already Got It? Make Smarter Martech Decisions
bbedford2
 
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 
Homogeneity of Variance Test Options IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
vMix Pro 28.0.0.42 Download vMix Registration key Bundle
kulindacore
 
[Solution] Why Choose the VeryPDF DRM Protector Custom-Built Solution for You...
Lingwen1998
 
4K Video Downloader Plus Pro Crack for MacOS New Download 2025
bashirkhan333g
 
Comprehensive Risk Assessment Module for Smarter Risk Management
EHA Soft Solutions
 
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 
TheFutureIsDynamic-BoxLang witch Luis Majano.pdf
Ortus Solutions, Corp
 
Agentic Automation Journey Session 1/5: Context Grounding and Autopilot for E...
klpathrudu
 
SciPy 2025 - Packaging a Scientific Python Project
Henry Schreiner
 
Help for Correlations in IBM SPSS Statistics.pptx
Version 1 Analytics
 
Empower Your Tech Vision- Why Businesses Prefer to Hire Remote Developers fro...
logixshapers59
 
Automate Cybersecurity Tasks with Python
VICTOR MAESTRE RAMIREZ
 
Hardware(Central Processing Unit ) CU and ALU
RizwanaKalsoom2
 

Angular Seminar-js

  • 1. 5 awesome features in Angular JS Presenter: Padmalochan, Mindfire Solutions Date: 17/11/2014
  • 2. About Me I am Padmalochan Maharana, working as web developer at Mindfire Solutions since 3.2 years. Key skills : Asp.Net MVC 4.0, C#, Entity Framework, Javascript, Jquery, HTML5, CSS3, RESTful API, Angular.js. Specialist in Backbone.js Curently having 3 certification MCTS-70-515 - Microsoft .NET 4.0, Web App Development MCP - 70-486 - Developing ASP.NET MVC 4 Web Applications MCP:70-480 - Specialist certification in HTML5 with JavaScript and CSS3 Exam Presenter: Padmalochan, Mindfire Solutions
  • 3. Presenter: Padmalochan, Mindfire Solutions Agenda  Angular JS Basics (MV* Architecture)  Two way Data-Binding  Dependency Injection  Templates  Directives  Model, Services and Factory  Working with RESTful API
  • 5. Presenter: Padmalochan, Mindfire Solutions Angular JS is a SPA Framework  Single Page Applications.  No round tripping  Loads all of resources at one go.  Its a concept not proper definition  Rich user experience.  Net latency is reduced.  Performance is increased.
  • 6. Presenter: Padmalochan, Mindfire Solutions Why Angular
  • 8. Presenter: Padmalochan, Mindfire Solutions MV* Architecture Choose whatever architecture suits you best.
  • 9. Presenter: Padmalochan, Mindfire Solutions Two-Way Data Binding
  • 10. Presenter: Padmalochan, Mindfire Solutions Controller and $scope $scope is a glue between the Controller and the View The controller is responsible for constructing the model on $scope and providing commands for the view. $scope an object that refers to application model. It can watch expressions and propagate events. Controllers shouldn't know any thing about view they control. They should not own the domain model.
  • 11. Presenter: Padmalochan, Mindfire Solutions Dependency Injection Dependency Injection (DI) is a software design pattern that deals with how components get hold of their dependencies. Angular JS comes with a built-in dependency injection mechanism. You can divide your angular js app into multiple different types of components which angular js can inject into each other. There are 3 ways of injecting dependencies : A. From function Parameter <script type="text/javascript"> function Controller($scope, greeter) { // ... } </script>
  • 12. Presenter: Padmalochan, Mindfire Solutions Dependency Injection B. From $inject property <script type="text/javascript"> var MyController = function(renamed$scope, renamedGreeter) { // TODO... } MyController['$inject'] = ['$scope', 'greeter']; </script> C. Inline Array <script type="text/javascript"> someModule.factory('greeter', ['$window', function(renamed$window) { // ... }]); </script>
  • 13. Presenter: Padmalochan, Mindfire Solutions Directives Data is attached to $scope which is used to display in View. Model doesn't know about view. Data Binding moves model data to view. <script type=”text/javascript”> Var controller = function($scope){ $scope.message=”hello world”; } </script> <div> {{ message }} </div>
  • 14. Presenter: Padmalochan, Mindfire Solutions Data binding , Expression and Scopes $compile compiles the DOM into a template function that can be used to bind the view and scope together. $digest processes all of the watchers of current scope $apply() is used to notify that something has happened outside of Angular JS domain $apply forces a $digest cycle Custom watch and digest
  • 15. Presenter: Padmalochan, Mindfire Solutions Data binding , Expression and Scopes
  • 16. Presenter: Padmalochan, Mindfire Solutions Data binding , Expression and Scopes
  • 17. Presenter: Padmalochan, Mindfire Solutions Services and Factory service factory module.service('MyService', function() { this.method1 = function() { //.. } this.method2 = function() { //.. } }); module.factory('MyFactory', function() { var factory = {}; factory.method1 = function() { //.. } factory.method2 = function() { //.. } return factory; }); service(class) - registers a constructor function, class that will be wrapped in a service provider object, whose $get property will instantiate a new object using the given constructor function. factory(fn) - registers a service factory function, fn, that will be wrapped in a service provider object, whose $get property will contain the given factory function.
  • 18. Presenter: Padmalochan, Mindfire Solutions References https://github.com/jmcunningham/AngularJS-Learning
  • 19. www.mindfiresolutions.com SAMPLE CASE STUDY Online Statistical Sports Data System This client of ours is a sports statistical media company specializing in high school sports. They provided this high school sports statistical data through recording, display and storage of athletic events through multimedia outlets which included online viewing and mobile phone access. They had a range of products and were involved into research and development of their products. Recently, they came up with an Adobe AIR stat recorder application capable of producing box score display with the help of local programmers. Click here to know more 
  • 20. Presenter: Padmalochan, Mindfire Solutions Question and Answer
  • 21. Presenter: Padmalochan, Mindfire Solutions Thank you