A Warrior's Guide to AngularJS
A Warrior's Guide to AngularJS
About the Book
A Warrior's guide to AngularJS is a complete guide from 0, packed with fun, easy to read examples, and tricks to get your websites to the next level.
In this book you will learn:
- Choose and setup your development tools
- Expressions, Directives, Controllers and all the basics of AngularJS
- Use dynamic templates
- Manage routing
- Dynamically modify layouts and CSS
- Load External Files
- Bootstrap and AngularJS integration
This books covers Angular 1.5.x and compatible versions.
Table of Contents
- SECTION 1: FIRST STEPS
-
Introduction to AngularJS
- What is AngularJS?
- The MVW Pattern
- Data binding
- Dependency injection
- Directives
- Why you should use AngularJS?
-
Development Tools
-
Sublime Text 2
-
Setting Up Sublime Text for AngularJS
- Install Package Control
- Install Support for AngularJS
- Installing Code Linter - JavaScript
-
Setting Up Sublime Text for AngularJS
-
Adobe Brackets
- Set up Brackets for AngularJS
- Adobe Dreamweaver
-
Sublime Text 2
-
Creating a Project with AngularJS
-
Download AngularJS
- Version
- Build
- CDN
- Additional Libraries
- Install AngularJS in a HTML document
-
Set up an AngularJS application
- Scope of ng-app
-
Initialize the application
- Loading additional modules
- Example: Hello World
-
Download AngularJS
- SECTION 2: CREATING APPLICATIONS
-
Expressions
-
Define Expressions
- Templates
- Display dynamic values
- Represent objects
- Represent Results
-
Define Expressions
-
Filters in Expressions
- Represent currencies
- Edit Capital Letters
- Represent Numbers
- Displaying Dates
- Mix Filters
- Customized Filters
-
Data Filters
- Filter Data
- Order Data Collections
-
Controllers
-
Create a Controller
- Activate the Controller within a File
- The $scope Object
- Scope of a Controller
- Multiple Controllers
- Methods
-
Create a Controller
-
Directives
-
Add Directives
- Directives with Values
- AngularJS Directives & y W3C Standards
-
Common Directives
- ng-app
- ng-controller
- ng-model
- ng-bind
-
Customized Directives
- Create a Customized Directive
- How to Use Customized Directives Within a File
- Add Values to Customized Directives
-
Add Directives
-
Edit Styles with AngularJS
- Manipulate CSS Properties
- Assign Classes
- Hide and Show Elements
- Edit Images
- Show Elements Conditionally
-
Events and Interaction
- Clicks
- Mouse Events
-
Events for Mobile Devices
- Simulate a Touch Screen in Chrome
- Keyboard Events
- SECTION 3: DATA MANAGMENT
-
Represent Data Collections
-
Create Lists with Arrays
- Add Elements to a List
- Assign Events in Dynamic Lists
- Create Lists with Objects
-
Create Lists with Arrays
-
Access to External Data
-
Prepare External Data
- Security and Reading Permissions Considerations
- Load Information from External Servers
- Load an External File
- Display the Loaded Data
-
Prepare External Data
- SECTION 4: EXTENDING ANGULARJS
-
Manage Templates and Routes
-
- Index AngularJS In Search Engines
-
Install ngRoute
- Set Up the Templates
- Use of Includes
- Views
-
Routes
-
Creating Routes
- when
- otherwise
-
Load Controllers
- Create the Controller’s File
- Include the Controller in the App
- Link the Controller to a Route
- Dynamic Routes
- Read URL’s Variable
-
Creating Routes
-
-
Integrate AngularJS with Bootstrap
- Why should you use Bootstrap?
-
Use of Bootstrap to Create Responsive Sites
- Containers
- Columns’ Matrix
- Support to Different Resolutions
- Different Classes
-
Create a Template with Bootstrap
- Add Contents
- Add Interaction with Bootstrap
- Install AngularJS in Bootstrap
- Add Controllers
-
Conclusion & Farewell
-
Next Steps
- Official Documentation
- Angular 2
- Farewell
-
Next Steps
- Acknowledges
Causes Supported
National Novel Writing Month (NaNoWriMo)
Thirty days and nights of literary abandon!
http://www.nanowrimo.org/Valuing enthusiasm and perseverance over painstaking craft, National Novel Writing Month is a novel-writing program for everyone who has thought fleetingly about writing a novel but has been scared away by the time and effort involved.
Other books by this author
The Leanpub 60 Day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.
You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!
So, there's no reason not to click the Add to Cart button, is there?
See full terms...
Earn $8 on a $10 Purchase, and $16 on a $20 Purchase
We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earnedover $14 millionwriting, publishing and selling on Leanpub.
Learn more about writing on Leanpub
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them