AngularJS in Action by Lukas Ruebbelke

By Lukas Ruebbelke

AngularJS is a JavaScript-based framework that extends HTML, so that you can create dynamic, interactive net functions within the related method you create usual static pages. Out of the field, Angular presents lots of the performance you will have for simple apps, yet you will not are looking to cease there. Intuitive, effortless to customise, and test-friendly, Angular virtually begs you to construct extra attention-grabbing apps. AngularJS in motion teaches you every little thing you must start with AngularJS. As you learn, you will learn how to construct interactive single-page internet interfaces, practice rising styles like MVVM, and take on key projects like speaking with back-end servers. All examples are supported by way of transparent motives and illustrations besides totally annotated code listings.

Show description

Read or Download AngularJS in Action PDF

Best javascript books

Understanding Ajax Using Javascript To Create Rich Internet Applications

AJAX is sizzling, sizzling, scorching! Why? it is uncomplicated. With AJAX, web builders and architects can create web-based purposes that feel and appear like machine purposes. those are responsive, highly-interactive functions that signify a brand new breed known as "Rich net purposes" (RIA). This publication is a consultant to designing, imposing, and debugging AJAX functions.

Plug-In CSS 100 Power Solutions

A hundred CSS strength strategies in a single convenient consultant This useful source includes a hundred ready-to-run CSS plug-ins you should use to create dynamic web pages. all the plug-ins contain HTML examples and monitor pictures displaying particular finish effects you could in achieving right now. tools for utilizing CSS with JavaScript and HTML5 to make web content much more interactive and dynamic also are integrated.

Instant Node.js Starter

Software your scalable community functions and net companies with Node. js with this booklet and booklet assessment research whatever new directly! a brief, speedy, targeted consultant providing instant effects find out how to use module styles and Node Packet supervisor (NPM) on your functions notice callback styles in NodeJS comprehend the use Node.

jQuery 2 Recipes A Problem-Solution Approach

JQuery is frequently known as the write much less, do extra javascript library. It permits a couple of transparent traces of chic, well-tested, code to exchange many pages of complicated hand-coded script, dashing improvement instances and offering monstrous fee discounts. you will discover jQuery 2 Recipes problem-solution method of be a very good price and a feature-packed source as you start to incorporate jQuery on your personal initiatives.

Extra resources for AngularJS in Action

Sample text

Description}}

’ } }); The function returns a directive definition object (DDO) that defines how the directive is supposed to be configured. We’re telling AngularJS that each instance of this directive gets a new scope and that the template we defined replaces the element the directive was defined on. The template markup should be familiar, as it’s the same code we used previously to display the title and description of the current story item. Now that we’ve defined the directive, we update the HTML in our page to use a story tag and not a div tag.

9, you can see how they fit into the big picture. 9 Directives 18 CHAPTER 1 Hello AngularJS We’ll introduce a simple directive to Angello Lite to get our feet wet. We’ll create a story directive that represents a story in the page. description}}

’ } }); The function returns a directive definition object (DDO) that defines how the directive is supposed to be configured. We’re telling AngularJS that each instance of this directive gets a new scope and that the template we defined replaces the element the directive was defined on.

Div>

Even though this is a small example of how to extend HTML to do new things by using directives, we want to start your wheels turning on what kind of applications you would write if you could create HTML tags and attributes to do whatever you wanted. 4 Summary This concludes our tour of Angello Lite. 1 in action, we’ll spend the rest of the book digging into these concepts a lot deeper and in a more useful context as we start to work with Angello. Let’s do a quick review before we finish this chapter and head into the next one: ■ ■ AngularJS was created as a framework designed to make it easier to write and organize large JavaScript applications.