By Sandeep Panda
What will I learn?
In this functional and fun-to-read e-book, you'll examine the basics of AngularJS, corresponding to scopes, modules and controllers. You'll then movement directly to extra subtle options, together with utilizing directives, filters and expressions to construct a whole unmarried web page net application.
Discover the ability of AngularJS's two-way information binding
Using AngularJS and TDD
Get to grips with modules, scopes, and controllers
Enhance your HTML with directives
Build a whole operating unmarried web page weblog program as you learn
And even more
Read Online or Download AngularJS: Novice to Ninja PDF
Discover ways to make extra effective apps, with only one language!
* includes a variety of hands-on examples
* Explains implementation of real-time apps together with Socket. IO and HTML5, and WebSockets
* Addresses useful Node. js benefits from particular layout choices
* contains an interactive on-line part with pattern chapters
* Explains elements of stand out apps together with brevity and benchmarks
- AJAX and PHP: Building Modern Web Applications 2nd Edition
Additional resources for AngularJS: Novice to Ninja
Info Figure 2-2. 7 Using Regular Expressions to Trim Whitespace Problem Before sending a string to the server via an Ajax call, you want to trim whitespace from the beginning and end of the string. 7 Using Regular Expressions to Trim Whitespace | 35 Download from Wow! trim(); // white space trimmed Discussion String values retrieved from form elements can sometimes have whitespace before and after the actual form value. You don’t usually want to send the string with the extraneous whitespace, so you’ll use a regular expression to trim the string.
The lastIndex property is handy if you want to track both the first and last matches. 30 | Chapter 2: Using Regular Expressions Download from Wow! info Figure 2-1. 6 provides a simpler approach to finding and highlighting text in a string. 5 Replacing Patterns with New Strings Problem You want to replace all matched substrings with a new substring. 5 Replacing Patterns with New Strings | 31 Download from Wow! 4, we used the RegExp global flag (g) in order to track each occurrence of the regular expression.