SlideShare a Scribd company logo
Angular.JS
Advanced Angular.JS - GDayX VN 2013
About me
Nicolas Embleton, French in Ho Chi Minh City

•

2005 - Software Engineer and System Architect, working on legacy tech stacks
(C++, OpenGL, Java, ...) then quickly Web (PHP)

•
•
•

2009 - Founded a Mobile Development Company of 30 individuals
2011 - Started Datafield Startup, Co-founder, CTO
2013 - Started the Javascript Ho Chi Minh City meetup, Getting active in Startup
Vietnamese scene to support and mentor young talents
Agenda

•
•
•
•
•
•
•
•

Quick Intro
Bootstrapping
Why Angular?
Main features, and why it's awesome
Best practices
Testing, tooling
And SEO?
Final words
Intro (quick)
From Wikipedia:

AngularJS is built around the belief that declarative programming should be used for building UIs and
wiring software components, while imperative programming is excellent for expressing business
logic. The framework adapts and extends traditional HTML to better serve dynamic content through two-way databinding that allows for the automatic synchronization of models and views. As a result, AngularJS deemphasizes DOM
manipulation and improves testability.
Angular JS quick review

•
•
•
•
•
•
•

Templating
Model View Controller (MVC)
Extends HTML (very flexible)
2-ways Data-binding
Very reusable (if you follow best practices)
Improves testability (because it is reusable)
Provides routing, history, jqLite, ...
Bootstrapping

•

Using angular-seeds
o git clone https://github.com/angular/angular-seed.git
o node scripts/web-server.js
o open http://localhost:8000/app/index.html

•

Using yeoman (excellent workflow tool)
o
o
o
o
o

(sudo) npm install -g yo
(sudo) npm install -g generator-angular
yo angular
bower install angular-ui
grunt server
Now, the meat, the main features

•
•
•
•
•
•

Templating
Routing
2-ways data-binding
Directives, services
Dependency Injection
Inter-components Communication
Templating

•

Models
o
o

•

2-way binding
Easy property mapping

Built-in directives
o

ngView
Where the routing happens

o

ngRepeat
Iterator

o
o

ngIf
ngSwitch
Templating - Conditional with ngIf
<div ng-repeat="message in data.messages" ng-class="message.type">
<hr>
<div ng-if="showFrom(message)">
<div>From: {{message.from.name}}</div>
</div>
<div ng-if="showCreatedBy(message)">
<div>Created by: {{message.createdBy.name}}</div>
</div>
<div ng-if="showTo(message)">
<div>To: {{message.to.name}}</div>
</div>
</div>
Templating - Nested repeat
<div ng-repeat="group in groups"><!-- 1st ng-repeat level -->
<h2>{{ group.label }}</h2>
<ul>
<li ng-repeat="friend in group.friends">
<!-- 2nd ng-repeat level -->
{{ friend.name }}
</li>
</ul><!-- END: Inner ngRepeat. -->
</div><!-- END: Outer ngRepeat. -->
Templating - Example 2 - Switch
<div ng-switch on="selection" >
<div ng-switch-when="settings">Settings Div</div>
<span ng-switch-when="home">Home Span</span>
<span ng-switch-default>default</span>
</div>
Example 2.2 - Switch with 2-way bind
<div ng-controller="Ctrl">
<select ng-model="selection" ng-options="item for item in items">
</select>
<tt>selection={{selection}}</tt>
<hr/>
<div class="animate-switch-container"
ng-switch on="selection">
<div ng-switch-when="settings">Settings Div</div>
<div ng-switch-when="home">Home Span</div>
<div ng-switch-default>default</div>
</div>
</div>
Templating - Simple ngRepeat
<li ng-repeat="item in items">
Item: {{ item }}
</li>
Templating - Complex ngRepeat
<header ng-repeat-start="item in items">
Header {{ item }}
</header>
<div class="body">
Body {{ item }}
</div>
<footer ng-repeat-end>
Footer {{ item }}
</footer>
Compiling
// compile the new DOM and link it to the current scope.
// NOTE: we only compile .childNodes so that
// we don't get into infinite loop compiling ourselves
$compile(element.contents())(scope);
Templating - Routing

•
•
•
•

Happens in ngView
Routing is a very powerful feature
Allows to update "pieces" of the page
Can stream files from disk to make it truly isolated
2-ways data-binding
•
•
•
•

Becoming more standard, thanks to frameworks like Ember.js or Angular.js

•

Example

Linking 2 fields for synchronization purpose
Linking data to model
Automatically updating the template as data is changed
o Arrays / Collections
o Inputs
o etc…
2-ways data-binding, example
<input type="text" ng-model="title" style="width: 90%"/>
<div ng-app="myapp">
<div ng-controller="mycontroller">
Title: {{ title }} <!-- 2-way data binding -->
<hr>
<div class="zippy" zippy-title="title"></div>
</div>
</div>
Directives

•
•
•

Angular.js killer feature
Great deal of re-usability
Just look for directives at ngmodules.org
Restricting Directives

•
•
•
•
•

"E": Element, <my-directive>
"A": Attribute, <div my-directive>
"C": Class, <div class="my-directive">
"M": Comment: <!-- directive: my-directive exp -->
Combine (e.g. "EA") for more flexibility
Communicating between directives

•
•

Many design patterns
The "backbonier"
o

•

the emitter and the receiver

A more connected example
o

the directive combinations and controller sharing
Communicating between directives
app.directive('directiveA', function($rootScope){
return function(scope, element, attrs) {

// $rootScope = App Scope
// scope = Current scope (ctrl)

$rootScope.$on('someEvent', function(){
// From here we can react anytime there's an event "someEvent" triggered
});
};
});
Communicating between directives
app.directive('gdayx', function() {

// Creating the directive

return {
restrict: 'E',

// Restricted to "element"

controller: function($scope) {
$scope.what = "";
this.is = function(what) {

// Creating the controller of the directive
// Local data

// External accessor

$scope.what = what;
}
},
link: function($scope, $element){
$element.bind("click", function() { // Binding on click
alert("GDayX is "+$scope.what); // Getting content from the Controller.
});
}
}
});
Communicating between directives
// This directive will "send" data to the first directive
app.directive('is', function() {

// Creating the directive

return {
require: "gdayx",

// Requiring the "gdayx" controller

restrict: 'A',

// Restricting to "attribute"

link: function(scope, element, attrs, gdayxCtrl) {
// gdayxCtrl from the "require: 'gdayx'"
gdayxCtrl.is(attrs.is); // Passing value to the "gdayx" controller
}
}
});
AngularJS - Why is it awesome?

•
•
•
•
•

Mature, production-ready
Feature-rich
The design and what it allows
Strong support from giants like Google
A lot of solid companies are embracing it
o
o
o

Ebay Commerce Network
DoubleClick (Google) - Marketing Manager & Planner
YouTube APP on PS3
Best Practices

•
•

Organize the code well (Captain Obvious!)
Organize modules by feature
angular.module('users', ['utilities']);
angular.module('groups', ['utilities']);
angular.module('mainApp', ['users', 'groups']);

•
•

Use the reusability as much as possible
Use the testability as much as possible
o
o

TDD
BDD?
Testing, tooling
•
•
•
•
•
•

Yeoman
o Super workflow tool and generator/scaffolder
Batarang
o Chrome Debugger Extension, (A must have), link
Grunt
o Task runner
Bower
o Package Manager for JS Libraries
Protractor, Karma
o Test Runner
Jasmine, Mocha
o Test Frameworks
And SEO?

•

Google "Snapshot" famous technic
o
o
o

•
•

_escaped_fragment_
Turns this:
http://prerender.io/getting-started#html5-pushstate
Into this:
http://prerender.io/getting-started?_escaped_fragment_=html5pushstate

prerender.io/ - Open Source project
brombone.com/ - Commercial project
Enterprise project with Angular?

•
•

YES
BUT
Enterprise project with Angular?

•
•

YES
BUT
o
o
o

Follow best practices (easier said than done)
System Architecture is KEY to a solid system
As "Agile" would advise, always try to go for simpler but "well-thought"
"team-friendly"designs.
Enterprise project with Angular?

•

An example Architecture
Legacy Front End

Backend
(legacy)

Experimental Front
End

DB
Backend
(experimental)

Server-side team realm

Experimental Front
End 2

Front-End team realm
Final Words

•
•

Angular 1.0.x is mature
Angular 1.2+ will bring more awesomeness
o
o

Better and Fluid Animations (js/css3)
More flexibility and functionalities
$interval: add a service wrapping setInterval
Event directives: add ngCopy, ngCut, and ngPaste
jQuery 1.10.x support
DEMO
(if time permits :)
Bootstrapped app

•
•

Let's see a quick Angular App
Bootstrapped from Yeoman
Where you can find me:
Author: Nicolas Embleton @: nicolas.embleton@gmail.com
Presentation made for “Google Developer Day GDayX 2013 Vietnam”
You can follow me at:
https://plus.google.com/+NicolasEmbleton
https://twitter.com/nicolasembleton

•
•

And the Javascript Ho Chi Minh City Meetup:
http://meetup.com/JavaScript-Ho-Chi-Minh-City/
https://www.facebook.com/JavaScriptHCMC
https://plus.google.com/communities/116105314977285194967

•
•
•

o

Our group is looking for Projects to mentor. If you have a project you want support for, contact me
Resources
Learning

•
•
•

Learning AngularJS by the example (+60 minutes-ish training video)

•
•

http://docs.angularjs.org/guide/dev_guide.templates.databinding

http://www.nganimate.org/
https://github.com/angular-ui/ui-router
o It's a full "nested-view" library
ng-learn.org

Reusable Components

•
•

http://ngmodules.org/
http://www.directiv.es/

More Related Content

PDF
gDayX - Advanced angularjs
PDF
Enjoy the vue.js
PDF
An introduction to Vue.js
PPTX
Meteor Day Talk
PDF
Introduction to backbone presentation
PDF
Angular를 활용한 웹 프론트단 개발과 2.0에서 달라진점
PDF
Reactive Type safe Webcomponents with skateJS
PPTX
MWLUG 2015 - AD114 Take Your XPages Development to the Next Level
gDayX - Advanced angularjs
Enjoy the vue.js
An introduction to Vue.js
Meteor Day Talk
Introduction to backbone presentation
Angular를 활용한 웹 프론트단 개발과 2.0에서 달라진점
Reactive Type safe Webcomponents with skateJS
MWLUG 2015 - AD114 Take Your XPages Development to the Next Level

What's hot (20)

PDF
Bootstrap과 UI-Bootstrap
PDF
Vue routing tutorial getting started with vue router
PPTX
Vue business first
PDF
Oleh Zasadnyy "Progressive Web Apps: line between web and native apps become ...
PDF
Top 45 jQuery Interview Questions and Answers | Edureka
PDF
The Role of Python in SPAs (Single-Page Applications)
PDF
Reactive Type-safe WebComponents
PDF
Building and deploying React applications
PPTX
PDF
Building a Startup Stack with AngularJS
PPTX
JavaScript Advanced - Useful methods to power up your code
PDF
How to Webpack your Django!
PPTX
An introduction to Vue.js
PDF
Introduction to jQuery
ODP
An Introduction to Vuejs
PDF
High Performance Django
PDF
Django for mobile applications
PDF
HTML5: where flash isn't needed anymore
PDF
Realize mais com HTML 5 e CSS 3 - 16 EDTED - RJ
PDF
WordPress-Templates mit Twig erstellen - PHPUGFFM
Bootstrap과 UI-Bootstrap
Vue routing tutorial getting started with vue router
Vue business first
Oleh Zasadnyy "Progressive Web Apps: line between web and native apps become ...
Top 45 jQuery Interview Questions and Answers | Edureka
The Role of Python in SPAs (Single-Page Applications)
Reactive Type-safe WebComponents
Building and deploying React applications
Building a Startup Stack with AngularJS
JavaScript Advanced - Useful methods to power up your code
How to Webpack your Django!
An introduction to Vue.js
Introduction to jQuery
An Introduction to Vuejs
High Performance Django
Django for mobile applications
HTML5: where flash isn't needed anymore
Realize mais com HTML 5 e CSS 3 - 16 EDTED - RJ
WordPress-Templates mit Twig erstellen - PHPUGFFM
Ad

Similar to gDayX 2013 - Advanced AngularJS - Nicolas Embleton (20)

PDF
Nicolas Embleton, Advanced Angular JS
PDF
GDayX - Advanced Angular.JS
PPTX
AngularJS training - Day 1 - Basics: Why, What and basic features of AngularJS
PPTX
Introduction à AngularJS
PPTX
Angular - Beginner
PPTX
ZZ BC#7.5 asp.net mvc practice and guideline refresh!
PDF
Mini-Training: AngularJS
PDF
From Backbone to Ember and Back(bone) Again
PDF
AngularJS 101 - Everything you need to know to get started
PDF
Yeoman AngularJS and D3 - A solid stack for web apps
PPTX
Basics of AngularJS
PDF
AngularJS Workshop
PDF
Tech Talk: DevOps at LeanIX @ Startup Camp Berlin
PPTX
Intro to AngularJs
PDF
Angular or Backbone: Go Mobile!
ODP
Knolx session
PDF
GDG Addis - An Introduction to Django and App Engine
PPTX
ME vs WEB - AngularJS Fundamentals
KEY
Intro To Django
PPTX
Angular Js Basics
Nicolas Embleton, Advanced Angular JS
GDayX - Advanced Angular.JS
AngularJS training - Day 1 - Basics: Why, What and basic features of AngularJS
Introduction à AngularJS
Angular - Beginner
ZZ BC#7.5 asp.net mvc practice and guideline refresh!
Mini-Training: AngularJS
From Backbone to Ember and Back(bone) Again
AngularJS 101 - Everything you need to know to get started
Yeoman AngularJS and D3 - A solid stack for web apps
Basics of AngularJS
AngularJS Workshop
Tech Talk: DevOps at LeanIX @ Startup Camp Berlin
Intro to AngularJs
Angular or Backbone: Go Mobile!
Knolx session
GDG Addis - An Introduction to Django and App Engine
ME vs WEB - AngularJS Fundamentals
Intro To Django
Angular Js Basics
Ad

Recently uploaded (20)

PDF
Electronic commerce courselecture one. Pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Encapsulation_ Review paper, used for researhc scholars
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
Big Data Technologies - Introduction.pptx
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Machine learning based COVID-19 study performance prediction
Electronic commerce courselecture one. Pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
NewMind AI Monthly Chronicles - July 2025
Encapsulation_ Review paper, used for researhc scholars
“AI and Expert System Decision Support & Business Intelligence Systems”
Diabetes mellitus diagnosis method based random forest with bat algorithm
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Big Data Technologies - Introduction.pptx
MYSQL Presentation for SQL database connectivity
Mobile App Security Testing_ A Comprehensive Guide.pdf
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
20250228 LYD VKU AI Blended-Learning.pptx
Advanced methodologies resolving dimensionality complications for autism neur...
The Rise and Fall of 3GPP – Time for a Sabbatical?
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Building Integrated photovoltaic BIPV_UPV.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Machine learning based COVID-19 study performance prediction

gDayX 2013 - Advanced AngularJS - Nicolas Embleton

  • 2. About me Nicolas Embleton, French in Ho Chi Minh City • 2005 - Software Engineer and System Architect, working on legacy tech stacks (C++, OpenGL, Java, ...) then quickly Web (PHP) • • • 2009 - Founded a Mobile Development Company of 30 individuals 2011 - Started Datafield Startup, Co-founder, CTO 2013 - Started the Javascript Ho Chi Minh City meetup, Getting active in Startup Vietnamese scene to support and mentor young talents
  • 3. Agenda • • • • • • • • Quick Intro Bootstrapping Why Angular? Main features, and why it's awesome Best practices Testing, tooling And SEO? Final words
  • 4. Intro (quick) From Wikipedia: AngularJS is built around the belief that declarative programming should be used for building UIs and wiring software components, while imperative programming is excellent for expressing business logic. The framework adapts and extends traditional HTML to better serve dynamic content through two-way databinding that allows for the automatic synchronization of models and views. As a result, AngularJS deemphasizes DOM manipulation and improves testability.
  • 5. Angular JS quick review • • • • • • • Templating Model View Controller (MVC) Extends HTML (very flexible) 2-ways Data-binding Very reusable (if you follow best practices) Improves testability (because it is reusable) Provides routing, history, jqLite, ...
  • 6. Bootstrapping • Using angular-seeds o git clone https://github.com/angular/angular-seed.git o node scripts/web-server.js o open http://localhost:8000/app/index.html • Using yeoman (excellent workflow tool) o o o o o (sudo) npm install -g yo (sudo) npm install -g generator-angular yo angular bower install angular-ui grunt server
  • 7. Now, the meat, the main features • • • • • • Templating Routing 2-ways data-binding Directives, services Dependency Injection Inter-components Communication
  • 8. Templating • Models o o • 2-way binding Easy property mapping Built-in directives o ngView Where the routing happens o ngRepeat Iterator o o ngIf ngSwitch
  • 9. Templating - Conditional with ngIf <div ng-repeat="message in data.messages" ng-class="message.type"> <hr> <div ng-if="showFrom(message)"> <div>From: {{message.from.name}}</div> </div> <div ng-if="showCreatedBy(message)"> <div>Created by: {{message.createdBy.name}}</div> </div> <div ng-if="showTo(message)"> <div>To: {{message.to.name}}</div> </div> </div>
  • 10. Templating - Nested repeat <div ng-repeat="group in groups"><!-- 1st ng-repeat level --> <h2>{{ group.label }}</h2> <ul> <li ng-repeat="friend in group.friends"> <!-- 2nd ng-repeat level --> {{ friend.name }} </li> </ul><!-- END: Inner ngRepeat. --> </div><!-- END: Outer ngRepeat. -->
  • 11. Templating - Example 2 - Switch <div ng-switch on="selection" > <div ng-switch-when="settings">Settings Div</div> <span ng-switch-when="home">Home Span</span> <span ng-switch-default>default</span> </div>
  • 12. Example 2.2 - Switch with 2-way bind <div ng-controller="Ctrl"> <select ng-model="selection" ng-options="item for item in items"> </select> <tt>selection={{selection}}</tt> <hr/> <div class="animate-switch-container" ng-switch on="selection"> <div ng-switch-when="settings">Settings Div</div> <div ng-switch-when="home">Home Span</div> <div ng-switch-default>default</div> </div> </div>
  • 13. Templating - Simple ngRepeat <li ng-repeat="item in items"> Item: {{ item }} </li>
  • 14. Templating - Complex ngRepeat <header ng-repeat-start="item in items"> Header {{ item }} </header> <div class="body"> Body {{ item }} </div> <footer ng-repeat-end> Footer {{ item }} </footer>
  • 15. Compiling // compile the new DOM and link it to the current scope. // NOTE: we only compile .childNodes so that // we don't get into infinite loop compiling ourselves $compile(element.contents())(scope);
  • 16. Templating - Routing • • • • Happens in ngView Routing is a very powerful feature Allows to update "pieces" of the page Can stream files from disk to make it truly isolated
  • 17. 2-ways data-binding • • • • Becoming more standard, thanks to frameworks like Ember.js or Angular.js • Example Linking 2 fields for synchronization purpose Linking data to model Automatically updating the template as data is changed o Arrays / Collections o Inputs o etc…
  • 18. 2-ways data-binding, example <input type="text" ng-model="title" style="width: 90%"/> <div ng-app="myapp"> <div ng-controller="mycontroller"> Title: {{ title }} <!-- 2-way data binding --> <hr> <div class="zippy" zippy-title="title"></div> </div> </div>
  • 19. Directives • • • Angular.js killer feature Great deal of re-usability Just look for directives at ngmodules.org
  • 20. Restricting Directives • • • • • "E": Element, <my-directive> "A": Attribute, <div my-directive> "C": Class, <div class="my-directive"> "M": Comment: <!-- directive: my-directive exp --> Combine (e.g. "EA") for more flexibility
  • 21. Communicating between directives • • Many design patterns The "backbonier" o • the emitter and the receiver A more connected example o the directive combinations and controller sharing
  • 22. Communicating between directives app.directive('directiveA', function($rootScope){ return function(scope, element, attrs) { // $rootScope = App Scope // scope = Current scope (ctrl) $rootScope.$on('someEvent', function(){ // From here we can react anytime there's an event "someEvent" triggered }); }; });
  • 23. Communicating between directives app.directive('gdayx', function() { // Creating the directive return { restrict: 'E', // Restricted to "element" controller: function($scope) { $scope.what = ""; this.is = function(what) { // Creating the controller of the directive // Local data // External accessor $scope.what = what; } }, link: function($scope, $element){ $element.bind("click", function() { // Binding on click alert("GDayX is "+$scope.what); // Getting content from the Controller. }); } } });
  • 24. Communicating between directives // This directive will "send" data to the first directive app.directive('is', function() { // Creating the directive return { require: "gdayx", // Requiring the "gdayx" controller restrict: 'A', // Restricting to "attribute" link: function(scope, element, attrs, gdayxCtrl) { // gdayxCtrl from the "require: 'gdayx'" gdayxCtrl.is(attrs.is); // Passing value to the "gdayx" controller } } });
  • 25. AngularJS - Why is it awesome? • • • • • Mature, production-ready Feature-rich The design and what it allows Strong support from giants like Google A lot of solid companies are embracing it o o o Ebay Commerce Network DoubleClick (Google) - Marketing Manager & Planner YouTube APP on PS3
  • 26. Best Practices • • Organize the code well (Captain Obvious!) Organize modules by feature angular.module('users', ['utilities']); angular.module('groups', ['utilities']); angular.module('mainApp', ['users', 'groups']); • • Use the reusability as much as possible Use the testability as much as possible o o TDD BDD?
  • 27. Testing, tooling • • • • • • Yeoman o Super workflow tool and generator/scaffolder Batarang o Chrome Debugger Extension, (A must have), link Grunt o Task runner Bower o Package Manager for JS Libraries Protractor, Karma o Test Runner Jasmine, Mocha o Test Frameworks
  • 28. And SEO? • Google "Snapshot" famous technic o o o • • _escaped_fragment_ Turns this: http://prerender.io/getting-started#html5-pushstate Into this: http://prerender.io/getting-started?_escaped_fragment_=html5pushstate prerender.io/ - Open Source project brombone.com/ - Commercial project
  • 29. Enterprise project with Angular? • • YES BUT
  • 30. Enterprise project with Angular? • • YES BUT o o o Follow best practices (easier said than done) System Architecture is KEY to a solid system As "Agile" would advise, always try to go for simpler but "well-thought" "team-friendly"designs.
  • 31. Enterprise project with Angular? • An example Architecture Legacy Front End Backend (legacy) Experimental Front End DB Backend (experimental) Server-side team realm Experimental Front End 2 Front-End team realm
  • 32. Final Words • • Angular 1.0.x is mature Angular 1.2+ will bring more awesomeness o o Better and Fluid Animations (js/css3) More flexibility and functionalities $interval: add a service wrapping setInterval Event directives: add ngCopy, ngCut, and ngPaste jQuery 1.10.x support
  • 34. Bootstrapped app • • Let's see a quick Angular App Bootstrapped from Yeoman
  • 35. Where you can find me: Author: Nicolas Embleton @: nicolas.embleton@gmail.com Presentation made for “Google Developer Day GDayX 2013 Vietnam” You can follow me at: https://plus.google.com/+NicolasEmbleton https://twitter.com/nicolasembleton • • And the Javascript Ho Chi Minh City Meetup: http://meetup.com/JavaScript-Ho-Chi-Minh-City/ https://www.facebook.com/JavaScriptHCMC https://plus.google.com/communities/116105314977285194967 • • • o Our group is looking for Projects to mentor. If you have a project you want support for, contact me
  • 36. Resources Learning • • • Learning AngularJS by the example (+60 minutes-ish training video) • • http://docs.angularjs.org/guide/dev_guide.templates.databinding http://www.nganimate.org/ https://github.com/angular-ui/ui-router o It's a full "nested-view" library ng-learn.org Reusable Components • • http://ngmodules.org/ http://www.directiv.es/