Enviar pesquisa
Carregar
AngulrJS Overview
•
15 gostaram
•
10,757 visualizações
Eyal Vardi
Seguir
AngulrJS Overview
Leia menos
Leia mais
Tecnologia
Negócios
Denunciar
Compartilhar
Denunciar
Compartilhar
1 de 17
Recomendados
AngularJS Compile Process
AngularJS Compile Process
Eyal Vardi
AngularJS Directives
AngularJS Directives
Eyal Vardi
AngularJS Services
AngularJS Services
Eyal Vardi
AngularJS Architecture
AngularJS Architecture
Eyal Vardi
AngularJS Routing
AngularJS Routing
Eyal Vardi
GDayX - Advanced Angular.JS
GDayX - Advanced Angular.JS
Nicolas Embleton
AngularJS Internal
AngularJS Internal
Eyal Vardi
Get AngularJS Started!
Get AngularJS Started!
Dzmitry Ivashutsin
Recomendados
AngularJS Compile Process
AngularJS Compile Process
Eyal Vardi
AngularJS Directives
AngularJS Directives
Eyal Vardi
AngularJS Services
AngularJS Services
Eyal Vardi
AngularJS Architecture
AngularJS Architecture
Eyal Vardi
AngularJS Routing
AngularJS Routing
Eyal Vardi
GDayX - Advanced Angular.JS
GDayX - Advanced Angular.JS
Nicolas Embleton
AngularJS Internal
AngularJS Internal
Eyal Vardi
Get AngularJS Started!
Get AngularJS Started!
Dzmitry Ivashutsin
Intro to Angular.JS Directives
Intro to Angular.JS Directives
Christian Lilley
AngularJS - $http & $resource Services
AngularJS - $http & $resource Services
Eyal Vardi
Building Custom AngularJS Directives - A Step-by-Step Guide - Dan Wahlin | Fa...
Building Custom AngularJS Directives - A Step-by-Step Guide - Dan Wahlin | Fa...
FalafelSoftware
AngularJS Animations
AngularJS Animations
Eyal Vardi
AngularJS Basics with Example
AngularJS Basics with Example
Sergey Bolshchikov
Introducing jQuery
Introducing jQuery
Wildan Maulana
Component lifecycle hooks in Angular 2.0
Component lifecycle hooks in Angular 2.0
Eyal Vardi
jQuery basics
jQuery basics
Stijn Van Minnebruggen
AngularJS: what is underneath the hood
AngularJS: what is underneath the hood
DA-14
Building an End-to-End AngularJS Application
Building an End-to-End AngularJS Application
Dan Wahlin
Angular js routing options
Angular js routing options
Nir Kaufman
Angular Directives from Scratch
Angular Directives from Scratch
Christian Lilley
AngularJS Framework
AngularJS Framework
Barcamp Saigon
AngularJS for designers and developers
AngularJS for designers and developers
Kai Koenig
Javascript - Beyond-jQuery
Javascript - Beyond-jQuery
Tanner Moushey ❖ Mission Lab - WordPress Agency
Introduction to angular js
Introduction to angular js
Marco Vito Moscaritolo
Hack tutorial
Hack tutorial
Wakana Yoshizawa
Angular js - 4developers 12 kwietnia 2013
Angular js - 4developers 12 kwietnia 2013
Marcin Wosinek
JavaScript and jQuery Basics
JavaScript and jQuery Basics
Kaloyan Kosev
jQuery Best Practice
jQuery Best Practice
chandrashekher786
Forms in AngularJS
Forms in AngularJS
Eyal Vardi
AngularJS Filters
AngularJS Filters
Eyal Vardi
Mais conteúdo relacionado
Mais procurados
Intro to Angular.JS Directives
Intro to Angular.JS Directives
Christian Lilley
AngularJS - $http & $resource Services
AngularJS - $http & $resource Services
Eyal Vardi
Building Custom AngularJS Directives - A Step-by-Step Guide - Dan Wahlin | Fa...
Building Custom AngularJS Directives - A Step-by-Step Guide - Dan Wahlin | Fa...
FalafelSoftware
AngularJS Animations
AngularJS Animations
Eyal Vardi
AngularJS Basics with Example
AngularJS Basics with Example
Sergey Bolshchikov
Introducing jQuery
Introducing jQuery
Wildan Maulana
Component lifecycle hooks in Angular 2.0
Component lifecycle hooks in Angular 2.0
Eyal Vardi
jQuery basics
jQuery basics
Stijn Van Minnebruggen
AngularJS: what is underneath the hood
AngularJS: what is underneath the hood
DA-14
Building an End-to-End AngularJS Application
Building an End-to-End AngularJS Application
Dan Wahlin
Angular js routing options
Angular js routing options
Nir Kaufman
Angular Directives from Scratch
Angular Directives from Scratch
Christian Lilley
AngularJS Framework
AngularJS Framework
Barcamp Saigon
AngularJS for designers and developers
AngularJS for designers and developers
Kai Koenig
Javascript - Beyond-jQuery
Javascript - Beyond-jQuery
Tanner Moushey ❖ Mission Lab - WordPress Agency
Introduction to angular js
Introduction to angular js
Marco Vito Moscaritolo
Hack tutorial
Hack tutorial
Wakana Yoshizawa
Angular js - 4developers 12 kwietnia 2013
Angular js - 4developers 12 kwietnia 2013
Marcin Wosinek
JavaScript and jQuery Basics
JavaScript and jQuery Basics
Kaloyan Kosev
jQuery Best Practice
jQuery Best Practice
chandrashekher786
Mais procurados
(20)
Intro to Angular.JS Directives
Intro to Angular.JS Directives
AngularJS - $http & $resource Services
AngularJS - $http & $resource Services
Building Custom AngularJS Directives - A Step-by-Step Guide - Dan Wahlin | Fa...
Building Custom AngularJS Directives - A Step-by-Step Guide - Dan Wahlin | Fa...
AngularJS Animations
AngularJS Animations
AngularJS Basics with Example
AngularJS Basics with Example
Introducing jQuery
Introducing jQuery
Component lifecycle hooks in Angular 2.0
Component lifecycle hooks in Angular 2.0
jQuery basics
jQuery basics
AngularJS: what is underneath the hood
AngularJS: what is underneath the hood
Building an End-to-End AngularJS Application
Building an End-to-End AngularJS Application
Angular js routing options
Angular js routing options
Angular Directives from Scratch
Angular Directives from Scratch
AngularJS Framework
AngularJS Framework
AngularJS for designers and developers
AngularJS for designers and developers
Javascript - Beyond-jQuery
Javascript - Beyond-jQuery
Introduction to angular js
Introduction to angular js
Hack tutorial
Hack tutorial
Angular js - 4developers 12 kwietnia 2013
Angular js - 4developers 12 kwietnia 2013
JavaScript and jQuery Basics
JavaScript and jQuery Basics
jQuery Best Practice
jQuery Best Practice
Destaque
Forms in AngularJS
Forms in AngularJS
Eyal Vardi
AngularJS Filters
AngularJS Filters
Eyal Vardi
AngularJS Testing
AngularJS Testing
Eyal Vardi
Angular 2.0 forms
Angular 2.0 forms
Eyal Vardi
Angular 2.0 Routing and Navigation
Angular 2.0 Routing and Navigation
Eyal Vardi
Angular 2 Architecture (Bucharest 26/10/2016)
Angular 2 Architecture (Bucharest 26/10/2016)
Eyal Vardi
Introduction to Angularjs
Introduction to Angularjs
Manish Shekhawat
Vancouver AngularJS using $resource in your application
Vancouver AngularJS using $resource in your application
Sachin Agrawal
AngularJS $Provide Service
AngularJS $Provide Service
Eyal Vardi
Async & Parallel in JavaScript
Async & Parallel in JavaScript
Eyal Vardi
OOP in JavaScript
OOP in JavaScript
Eyal Vardi
Async & Parallel in JavaScript
Async & Parallel in JavaScript
Eyal Vardi
Angular 2.0 Pipes
Angular 2.0 Pipes
Eyal Vardi
Http Communication in Angular 2.0
Http Communication in Angular 2.0
Eyal Vardi
Template syntax in Angular 2.0
Template syntax in Angular 2.0
Eyal Vardi
Angular 2.0 Dependency injection
Angular 2.0 Dependency injection
Eyal Vardi
Rachel's grandmother's recipes
Rachel's grandmother's recipes
Eyal Vardi
AngularJS 101 - Everything you need to know to get started
AngularJS 101 - Everything you need to know to get started
Stéphane Bégaudeau
Angularjs - lazy loading techniques
Angularjs - lazy loading techniques
Nir Kaufman
Destaque
(19)
Forms in AngularJS
Forms in AngularJS
AngularJS Filters
AngularJS Filters
AngularJS Testing
AngularJS Testing
Angular 2.0 forms
Angular 2.0 forms
Angular 2.0 Routing and Navigation
Angular 2.0 Routing and Navigation
Angular 2 Architecture (Bucharest 26/10/2016)
Angular 2 Architecture (Bucharest 26/10/2016)
Introduction to Angularjs
Introduction to Angularjs
Vancouver AngularJS using $resource in your application
Vancouver AngularJS using $resource in your application
AngularJS $Provide Service
AngularJS $Provide Service
Async & Parallel in JavaScript
Async & Parallel in JavaScript
OOP in JavaScript
OOP in JavaScript
Async & Parallel in JavaScript
Async & Parallel in JavaScript
Angular 2.0 Pipes
Angular 2.0 Pipes
Http Communication in Angular 2.0
Http Communication in Angular 2.0
Template syntax in Angular 2.0
Template syntax in Angular 2.0
Angular 2.0 Dependency injection
Angular 2.0 Dependency injection
Rachel's grandmother's recipes
Rachel's grandmother's recipes
AngularJS 101 - Everything you need to know to get started
AngularJS 101 - Everything you need to know to get started
Angularjs - lazy loading techniques
Angularjs - lazy loading techniques
Semelhante a AngulrJS Overview
Introduction to AngularJS
Introduction to AngularJS
Marco Vito Moscaritolo
Angular js
Angular js
prasaddammalapati
Introduction to angular js july 6th 2014
Introduction to angular js july 6th 2014
Simona Clapan
Angular js
Angular js
ParmarAnisha
Workshop 12: AngularJS Parte I
Workshop 12: AngularJS Parte I
Visual Engineering
Introduction to Html5
Introduction to Html5
www.netgains.org
20190118_NetadashiMeetup#8_React2019
20190118_NetadashiMeetup#8_React2019
Makoto Mori
Dive into AngularJS and directives
Dive into AngularJS and directives
Tricode (part of Dept)
Index of jquery template 2 Minuteman Summer Web Dev.
Index of jquery template 2 Minuteman Summer Web Dev.
Daniel Downs
Oracle Application Express & jQuery Mobile - OGh Apex Dag 2012
Oracle Application Express & jQuery Mobile - OGh Apex Dag 2012
crokitta
Enjoy the vue.js
Enjoy the vue.js
TechExeter
Introduction to AngularJS
Introduction to AngularJS
Jussi Pohjolainen
Angular js quickstart
Angular js quickstart
LinkMe Srl
Knockout mvvm-m5-slides
Knockout mvvm-m5-slides
MasterCode.vn
jQuery Mobile - Desenvolvimento para dispositivos móveis
jQuery Mobile - Desenvolvimento para dispositivos móveis
Pablo Garrido
QCon 2015 - Thinking in components: A new paradigm for Web UI
QCon 2015 - Thinking in components: A new paradigm for Web UI
Oliver Häger
AngularJS Mobile Warsaw 20-10-2014
AngularJS Mobile Warsaw 20-10-2014
Dariusz Kalbarczyk
Introduction to Bootstrap
Introduction to Bootstrap
Ron Reiter
Eu odeio OpenSocial
Eu odeio OpenSocial
Carlos Brando
Basic html
Basic html
Nicha Jutasirivongse
Semelhante a AngulrJS Overview
(20)
Introduction to AngularJS
Introduction to AngularJS
Angular js
Angular js
Introduction to angular js july 6th 2014
Introduction to angular js july 6th 2014
Angular js
Angular js
Workshop 12: AngularJS Parte I
Workshop 12: AngularJS Parte I
Introduction to Html5
Introduction to Html5
20190118_NetadashiMeetup#8_React2019
20190118_NetadashiMeetup#8_React2019
Dive into AngularJS and directives
Dive into AngularJS and directives
Index of jquery template 2 Minuteman Summer Web Dev.
Index of jquery template 2 Minuteman Summer Web Dev.
Oracle Application Express & jQuery Mobile - OGh Apex Dag 2012
Oracle Application Express & jQuery Mobile - OGh Apex Dag 2012
Enjoy the vue.js
Enjoy the vue.js
Introduction to AngularJS
Introduction to AngularJS
Angular js quickstart
Angular js quickstart
Knockout mvvm-m5-slides
Knockout mvvm-m5-slides
jQuery Mobile - Desenvolvimento para dispositivos móveis
jQuery Mobile - Desenvolvimento para dispositivos móveis
QCon 2015 - Thinking in components: A new paradigm for Web UI
QCon 2015 - Thinking in components: A new paradigm for Web UI
AngularJS Mobile Warsaw 20-10-2014
AngularJS Mobile Warsaw 20-10-2014
Introduction to Bootstrap
Introduction to Bootstrap
Eu odeio OpenSocial
Eu odeio OpenSocial
Basic html
Basic html
Mais de Eyal Vardi
Why magic
Why magic
Eyal Vardi
Smart Contract
Smart Contract
Eyal Vardi
Performance Optimization In Angular 2
Performance Optimization In Angular 2
Eyal Vardi
Angular 2 NgModule
Angular 2 NgModule
Eyal Vardi
Upgrading from Angular 1.x to Angular 2.x
Upgrading from Angular 1.x to Angular 2.x
Eyal Vardi
Angular 2 - Ahead of-time Compilation
Angular 2 - Ahead of-time Compilation
Eyal Vardi
Routing And Navigation
Routing And Navigation
Eyal Vardi
Angular 2 Architecture
Angular 2 Architecture
Eyal Vardi
Angular 1.x vs. Angular 2.x
Angular 1.x vs. Angular 2.x
Eyal Vardi
Angular 2.0 Views
Angular 2.0 Views
Eyal Vardi
Modules and injector
Modules and injector
Eyal Vardi
Modules in ECMAScript 6.0
Modules in ECMAScript 6.0
Eyal Vardi
Proxies in ECMAScript 6.0
Proxies in ECMAScript 6.0
Eyal Vardi
Iterators & Generators in ECMAScript 6.0
Iterators & Generators in ECMAScript 6.0
Eyal Vardi
Symbols in ECMAScript 6.0
Symbols in ECMAScript 6.0
Eyal Vardi
Objects & Classes in ECMAScript 6.0
Objects & Classes in ECMAScript 6.0
Eyal Vardi
Scope & Functions in ECMAScript 6.0
Scope & Functions in ECMAScript 6.0
Eyal Vardi
Node.js Spplication Scaling
Node.js Spplication Scaling
Eyal Vardi
Node.js Socket.IO
Node.js Socket.IO
Eyal Vardi
Mais de Eyal Vardi
(19)
Why magic
Why magic
Smart Contract
Smart Contract
Performance Optimization In Angular 2
Performance Optimization In Angular 2
Angular 2 NgModule
Angular 2 NgModule
Upgrading from Angular 1.x to Angular 2.x
Upgrading from Angular 1.x to Angular 2.x
Angular 2 - Ahead of-time Compilation
Angular 2 - Ahead of-time Compilation
Routing And Navigation
Routing And Navigation
Angular 2 Architecture
Angular 2 Architecture
Angular 1.x vs. Angular 2.x
Angular 1.x vs. Angular 2.x
Angular 2.0 Views
Angular 2.0 Views
Modules and injector
Modules and injector
Modules in ECMAScript 6.0
Modules in ECMAScript 6.0
Proxies in ECMAScript 6.0
Proxies in ECMAScript 6.0
Iterators & Generators in ECMAScript 6.0
Iterators & Generators in ECMAScript 6.0
Symbols in ECMAScript 6.0
Symbols in ECMAScript 6.0
Objects & Classes in ECMAScript 6.0
Objects & Classes in ECMAScript 6.0
Scope & Functions in ECMAScript 6.0
Scope & Functions in ECMAScript 6.0
Node.js Spplication Scaling
Node.js Spplication Scaling
Node.js Socket.IO
Node.js Socket.IO
Último
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
naman860154
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
Enterprise Knowledge
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Miguel Araújo
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
The Digital Insurer
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
Anna Loughnan Colquhoun
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
apidays
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
Gabriella Davis
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
ThousandEyes
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
Safe Software
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
Remote DBA Services
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
Delhi Call girls
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
debabhi2
presentation ICT roal in 21st century education
presentation ICT roal in 21st century education
jfdjdjcjdnsjd
How to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
naman860154
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Igalia
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
Rafal Los
Último
(20)
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
presentation ICT roal in 21st century education
presentation ICT roal in 21st century education
How to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
AngulrJS Overview
1.
HTML enhanced for
web apps!
2.
3.
<!DOCTYPE html> <html data-ng-app=""> <head> <title>AngulrJJS
Hello World</title> </head> <body> <!-- Expressions --> 1 + 1 * 3 = {{1+1*3}} <br/> <!-- Directives & Data Binding --> Name: <input type="text" data-ng-model="name"/> {{name}} <script src="/Scripts/angular.min.js"></script> </body> </html>
4.
<!DOCTYPE html> <html data-ng-app=""> <head> <title>ng-repeat
directive</title> </head> <body> <div data-ng-init="names=[{id:1,name:'eyal'},{id:2,name:'vardi'}]"> Looping with the ng-repeat Directive:<br/> <ul> <li data-ng-repeat="n in names">{{n.id}} - {{n.name}}</li> </ul> </div> <script src="/Scripts/angular.min.js"></script> </body> </html>
5.
<!DOCTYPE html> <html data-ng-app=""> <head> <title>ng-repeat
directive</title> </head> <body> <div data-ng-init="names=[{id:1,name:'eyal'},{id:2,name:'vardi'}]"> Looping with the ng-repeat Directive:<br/> <ul> <li data-ng-repeat="n in names | orderBy:'name'"> {{n.id}} - {{n.name}} </li> </ul> </div> <script src="/Scripts/angular.min.js"></script> </body> </html>
6.
7.
8.
Model ($scope) ControllerView
9.
<div data-ng-controller="MyController"> Looping with
the ng-repeat Directive:<br/> <ul> <li data-ng-repeat="n in names | orderBy:'name'"> {{n.id}} - {{n.name}} </li> </ul> </div> <script src="/Scripts/angular.min.js"></script> <script> function MyController($scope) { $scope.names = [ { id: 1, name: 'eyal' }, { id: 2, name: 'vardi' }, { id: 3, name: 'apple' } ]; } </script>
10.
11.
12.
13.
14.
<html data-ng-app="myApp"> ... <div data-ng-controller="MyController"> Looping
with the ng-repeat Directive:<br/> <ul> <li data-ng-repeat="n in names | orderBy:'name'"> {{n.id}} - {{n.name}} </li> </ul> </div> <script src="/Scripts/angular.min.js"></script> <script> var myApp = angular.module('myApp', []); myApp.controller('MyController', function($scope) { $scope.names = [ { id: 1, name: 'eyal' }, { id: 2, name: 'vardi' }, { id: 3, name: 'apple' } ]; }); </script>
15.
<div data-ng-controller="MyCont"> <a data-ng-href="#/">View
1</a> | <a data-ng-href="#/view2">View 2</a> <div data-ng-view="#/View2"></div> </div> <script src="/Scripts/angular.min.js"></script> <script> var myApp = angular.module('myApp', []); myApp.config(function($routeProvider) { $routeProvider .when('/' , { controller: 'MyCont', templateUrl: 'V1.htm' }) .when('/view2', { controller: 'MyCont', templateUrl: 'V2.htm' }) .otherwise({ redirectTo: '/' }); }); myApp.controller('MyCont', function($scope) { $scope.names = [{ id: 1, name: 'eyal' },{ id: 2, name: 'vardi' }, { id: 3, name: 'apple' }]; }); </script>
16.
//factory style, more
involved but more sophisticated myApp.factory('myFactory', function () { return { sayHello: function () { return "Hello, World!"; } }; }); myApp.controller('MyCntr', function ($scope, myFactory) { $scope.myFactory = myFactory.sayHello(); });