AngularJS On-Ramp

Software Engineer at LiftEngine; LorMarSoft, LLC; Weird Candle, LLC
May. 30, 2014
AngularJS On-Ramp
AngularJS On-Ramp
AngularJS On-Ramp
AngularJS On-Ramp
AngularJS On-Ramp
AngularJS On-Ramp
AngularJS On-Ramp
AngularJS On-Ramp
AngularJS On-Ramp
AngularJS On-Ramp
AngularJS On-Ramp
AngularJS On-Ramp
AngularJS On-Ramp
AngularJS On-Ramp
AngularJS On-Ramp
AngularJS On-Ramp
AngularJS On-Ramp
AngularJS On-Ramp
AngularJS On-Ramp
AngularJS On-Ramp
AngularJS On-Ramp
AngularJS On-Ramp
AngularJS On-Ramp
AngularJS On-Ramp
AngularJS On-Ramp
AngularJS On-Ramp
AngularJS On-Ramp
AngularJS On-Ramp
AngularJS On-Ramp
AngularJS On-Ramp
AngularJS On-Ramp
AngularJS On-Ramp
AngularJS On-Ramp
AngularJS On-Ramp
AngularJS On-Ramp
AngularJS On-Ramp
AngularJS On-Ramp
AngularJS On-Ramp
AngularJS On-Ramp
AngularJS On-Ramp
AngularJS On-Ramp
AngularJS On-Ramp
AngularJS On-Ramp
AngularJS On-Ramp
AngularJS On-Ramp
1 of 45

More Related Content

What's hot

Single page webapps & javascript-testingSingle page webapps & javascript-testing
Single page webapps & javascript-testingsmontanari
Empower your App by Inheriting from Odoo MixinsEmpower your App by Inheriting from Odoo Mixins
Empower your App by Inheriting from Odoo MixinsOdoo
jQuery: Nuts, Bolts and BlingjQuery: Nuts, Bolts and Bling
jQuery: Nuts, Bolts and BlingDoug Neiner
Introduction to jQueryIntroduction to jQuery
Introduction to jQueryNagaraju Sangam
AngularJS ArchitectureAngularJS Architecture
AngularJS ArchitectureEyal Vardi
Building iPhone Web Apps using "classic" DominoBuilding iPhone Web Apps using "classic" Domino
Building iPhone Web Apps using "classic" DominoRob Bontekoe

Viewers also liked

Iglesia Presbiteriana GetsemaniIglesia Presbiteriana Getsemani
Iglesia Presbiteriana Getsemanijpc6760
Copy crash course maribel gracia 6340.65 revised 1Copy crash course maribel gracia 6340.65 revised 1
Copy crash course maribel gracia 6340.65 revised 1mgracia5
Casanova juanitap.~edtc6340.65copyrightrevision3Casanova juanitap.~edtc6340.65copyrightrevision3
Casanova juanitap.~edtc6340.65copyrightrevision3jpc6760
Copy crash course maribel gracia 6340.65 revised 3Copy crash course maribel gracia 6340.65 revised 3
Copy crash course maribel gracia 6340.65 revised 3mgracia5
Sample Case Studies Without ReferencesSample Case Studies Without References
Sample Case Studies Without Referencesbohargrove
Copyright crash  courseCopyright crash  course
Copyright crash coursemgracia5

Similar to AngularJS On-Ramp

Backbone js in drupal coreBackbone js in drupal core
Backbone js in drupal coreMarcin Wosinek
Clean JavascriptClean Javascript
Clean JavascriptRyunosuke SATO
Get AngularJS Started!Get AngularJS Started!
Get AngularJS Started!Dzmitry Ivashutsin
AngularJS and SPAAngularJS and SPA
AngularJS and SPALorenzo Dematté
AngularJS Compile ProcessAngularJS Compile Process
AngularJS Compile ProcessEyal Vardi
Introduction to Backbone.js & Marionette.jsIntroduction to Backbone.js & Marionette.js
Introduction to Backbone.js & Marionette.jsReturn on Intelligence

Recently uploaded

Freight Management System Freight Management System
Freight Management System Freightoscope
Alliance Expedition BattleAlliance Expedition Battle
Alliance Expedition BattleSilver Caprice
Winter 24 Highlights.pdfWinter 24 Highlights.pdf
Winter 24 Highlights.pdfPatrickYANG48
Semantic Search_ NLP_ ML.pdfSemantic Search_ NLP_ ML.pdf
Semantic Search_ NLP_ ML.pdfPlamenaDzharadat
baklink.docxbaklink.docx
baklink.docxAbdAsisHusainSalam
Travel SoftwareTravel Software
Travel SoftwareSharmiMehta

AngularJS On-Ramp

Editor's Notes

  1. After the initial learning curve, your productivity will get a huge boost, especially when using some of the “seeding” options out there, such as John Papa’s HotTowel. The JavaScript in the apps I’ve written are maybe 20% the size of what they were when I was using jQuery to manipulate everything. Yes, you can finally, reliably unit test your JavaScript! AngularJS was build from the start to support testability, and includes mocking features to assist. Most importantly – they have cool release names 
  2. Although many consider it an MVC framework due to the view, controller, and mode ($scope) parts of it, many consider it an MVVM framework due to its two-way binding. I think it provides the best of both worlds.
  3. The easiest way is to install HotTowel, which comes with a seed app structure. But you can download and install manually, or use a CDN (content delivery network). Since I’m going to be showing the basics, I’ll keep this simple, so we don’t have to focus on the details of what a seeded environment such as HotTowel gives us.
  4. canonical.html
  5. ng-app wraps the part of HTML you want handled by AngularJS. In this example, we’re only wrapping a DIV, but normally, we’d wrap the entire page by placing it on the HTML element. In order to conform to HTML 5’s standards, and to not have Visual Studio complain, you can precede AngularJS’s built-in attributes with “data-” (data-ng-app). Data binding is done using the “handlebar” notation within your HTML. Simple two-way data binding is done using the ngModel directive in conjunction with the handlebar notation. If you dig into the AngularJS JavaScript (I mean, *really* dig), you’ll see that, among a lot of other logic, the ngModel directive includes logic to capture “model” updates on each keystroke.