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

PDF
Java Programming :Event Handling(Types of Events)
PPTX
Session tracking in servlets
PPTX
Event Handling in JAVA
PDF
Angular - Chapter 3 - Components
PPTX
Back patching
PDF
The New JavaScript: ES6
PPT
Introduction to visual basic programming
PDF
Angular - Chapter 7 - HTTP Services
Java Programming :Event Handling(Types of Events)
Session tracking in servlets
Event Handling in JAVA
Angular - Chapter 3 - Components
Back patching
The New JavaScript: ES6
Introduction to visual basic programming
Angular - Chapter 7 - HTTP Services

What's hot (20)

PPTX
android sqlite
PPT
Introduction to java beans
PPTX
PPTX
Packages in java
PPTX
VB Function and procedure
PDF
Python functions
PPTX
SQLite database in android
PPTX
Interface in java
PPTX
Pointers,virtual functions and polymorphism cpp
PPTX
Web app presentation
PPTX
Laravel Tutorial PPT
PDF
Introduction to HTML5
PPT
RichControl in Asp.net
PDF
Angular - Chapter 2 - TypeScript Programming
PPTX
Iterarators and generators in python
PPTX
Inline function
PPT
Jsp ppt
PDF
Asp.net state management
android sqlite
Introduction to java beans
Packages in java
VB Function and procedure
Python functions
SQLite database in android
Interface in java
Pointers,virtual functions and polymorphism cpp
Web app presentation
Laravel Tutorial PPT
Introduction to HTML5
RichControl in Asp.net
Angular - Chapter 2 - TypeScript Programming
Iterarators and generators in python
Inline function
Jsp ppt
Asp.net state management
Ad

Viewers also liked (17)

PDF
Angular JS Introduction
PPTX
Angular js
PDF
"Dependency Injection. JavaScript.", Сергей Камардин, MoscowJS 15
PDF
Angular from Scratch
PPTX
AngularJS is awesome
PDF
I'm Postal for Promises in Angular
ODP
Introduction to Angular js
PDF
Dependency Injection Pattern in JavaScript, Speakers' Corner by Evgeny Dmitri...
PPT
Soa Runtime Governance Practices
PPTX
Live Demo : Trending Angular JS Featues
PDF
Angular JS - Develop Responsive Single Page Application
PPTX
Introduction about-ajax-framework
PPTX
Introduction to Angular JS
PDF
AngularJS - What is it & Why is it awesome ? (with demos)
PDF
AngularJS Basics with Example
PPTX
Why angular js Framework
PPTX
Introduction to Angularjs
Angular JS Introduction
Angular js
"Dependency Injection. JavaScript.", Сергей Камардин, MoscowJS 15
Angular from Scratch
AngularJS is awesome
I'm Postal for Promises in Angular
Introduction to Angular js
Dependency Injection Pattern in JavaScript, Speakers' Corner by Evgeny Dmitri...
Soa Runtime Governance Practices
Live Demo : Trending Angular JS Featues
Angular JS - Develop Responsive Single Page Application
Introduction about-ajax-framework
Introduction to Angular JS
AngularJS - What is it & Why is it awesome ? (with demos)
AngularJS Basics with Example
Why angular js Framework
Introduction to Angularjs
Ad

Similar to Angular Seminar-js (20)

PPTX
AngularJs presentation
PDF
Introduction to AngularJS
PDF
PPTX
Introduction to single page application with angular js
ODP
AngularJs Crash Course
PPSX
PDF
Workshop 13: AngularJS Parte II
ODP
Angular js-crash-course
PDF
Ultimate Introduction To AngularJS
PPT
introduction to Angularjs basics
PDF
AngularJS Basics
PPTX
5 angularjs features
PDF
AngularJS - TechTalk 3/2/2014
PPTX
Angular js for beginners
PPTX
Angular js
PPT
Angular In Depth
PDF
5 benefits of angular js
PPTX
Angular Presentation
PPTX
Intoduction to Angularjs
AngularJs presentation
Introduction to AngularJS
Introduction to single page application with angular js
AngularJs Crash Course
Workshop 13: AngularJS Parte II
Angular js-crash-course
Ultimate Introduction To AngularJS
introduction to Angularjs basics
AngularJS Basics
5 angularjs features
AngularJS - TechTalk 3/2/2014
Angular js for beginners
Angular js
Angular In Depth
5 benefits of angular js
Angular Presentation
Intoduction to Angularjs

More from Mindfire Solutions (20)

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

Recently uploaded (20)

PDF
top salesforce developer skills in 2025.pdf
PDF
AI in Product Development-omnex systems
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PPTX
CHAPTER 2 - PM Management and IT Context
PPTX
ai tools demonstartion for schools and inter college
PPTX
Odoo POS Development Services by CandidRoot Solutions
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PDF
System and Network Administration Chapter 2
PDF
How Creative Agencies Leverage Project Management Software.pdf
PDF
Digital Strategies for Manufacturing Companies
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PPTX
Essential Infomation Tech presentation.pptx
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PPTX
Operating system designcfffgfgggggggvggggggggg
top salesforce developer skills in 2025.pdf
AI in Product Development-omnex systems
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
CHAPTER 2 - PM Management and IT Context
ai tools demonstartion for schools and inter college
Odoo POS Development Services by CandidRoot Solutions
Design an Analysis of Algorithms II-SECS-1021-03
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
System and Network Administration Chapter 2
How Creative Agencies Leverage Project Management Software.pdf
Digital Strategies for Manufacturing Companies
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Essential Infomation Tech presentation.pptx
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
Operating system designcfffgfgggggggvggggggggg

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