
Download the course files here
Build a grocery list app with add, complete, edit, and delete features, showing newest items at the top, all in a single-page app with ajax and input validation.
Explore the big features of AngularJS, why the framework is loved, and learn to set up your environment, organize your project structure, and apply the MVC architecture.
Discover how AngularJS acts as a framework for dynamic web development, enabling separation of views and code, two-way data binding, and dependency injection to simplify building interactive apps.
set up your angular development environment by downloading angular.js from the official site and choosing a development tool like web storm or sublime; learn the basic angular app structure.
Explore the AngularJS model–view–controller design pattern, detailing how the model stores data, the view presents output, and the controller handles input and updates the model and view.
Explore a quick overview of angular architecture, set up your development environment for angular applications, review the file structure, and leverage interactive environments to keep the NBC architecture modular.
Explore AngularJS core features through independent demos, then apply them to a real world application. Use the section's table of contents to reference and clarify what you may be missing.
Create and organize modules to split code, enable parallel development, and inject dependencies into the main app for reusable functionality.
Learn how to create AngularJS controllers and manage data with scope. Attach them to views using the ng-controller directive, and use array syntax to protect parameter names during minification.
Learn to create expressions in angularjs with double curly braces to bind view and model data, perform simple operations, and implement a times-two example using ng-click.
Learn two way data binding in AngularJS by binding input fields to model variables with ng-model, showing edits flow from model to view and back to the model.
Learn to create custom directives in AngularJS by defining element directives, restricting types, providing templates, and prefixing directive names to avoid collisions.
Create a singleton calculations service via a factory, expose methods like timesTwo, and use dependency injection to inject this service into controllers to reuse calculations across the app.
Explore how scope acts as the glue between controller and view, passes the model, provides context for expressions, and follow best practices with dot notation to avoid reference conflicts.
Learn how to use filters in angularjs to transform data in expressions or directives. Add the pipe, pick filters like uppercase or currency, and set parameters for symbol and decimals.
Learn to set up AngularJS routing for a single page application by downloading and including the ngRoute module, injecting it into your app, and using ng-view for templates.
Define and implement routing in Angular by configuring the route provider, injecting ngRoute, and mapping links to templates and controllers for home and tutorial pages, with a fallback redirect.
Review AngularJS core features such as controllers, services, scope, and filters, demonstrated with the grocery list app. Prepare to apply these concepts in the next section.
Explore the grocery list application built with bootstrap and break down its components to understand how the AngularJS project is structured. See how filters enhance item presentation and functionality.
Build a grocery list app with AngularJS and Bootstrap layout, featuring a nav bar, a floating container, list groups with strike and edit actions, and a form to add items.
Learn to list grocery items using an Angular directive and ng-repeat, control the app title and body with separate controllers, and display items with their name and date.
Use AngularJS filters to modify how a grocery list displays data, sorting items by date with order by, reversing with a minus sign, and normalizing names with uppercase.
Preview the final app and its functionality, then explore bootstrap components, ng-repeat for lists, and filters that uppercase data and order items by newest first.
Learn how to set up routing to manage navigation, define views and templates, and link controllers to views in AngularJS, then pass and retrieve parameters between pages.
Set up AngularJS routing for a grocery list app by linking and injecting the routes, then create grocery list and add-item templates.
Implement routing for the grocery list app using route provider, defining a home page, a grocery list route, and an add item route with a redirect to the home page.
Learn how to pass route parameters in AngularJS by defining and retrieving values such as id and category via the URL, using route parameters in the controller and template.
Set up navigation for a grocery list app and connect the controller, view, and template via a url route. Pass data between pages using routing params in the controller.
Add update and delete functionality to a grocery list app with a data service and unique IDs. Validate input, create custom directives, and use ng-class for dynamic styling in AngularJS.
Abstract grocery items into a dedicated service to share data across controllers. Learn to create the grocery service, return it, and inject it to access items seamlessly.
Learn how to add grocery items to a list in AngularJS for beginners by wiring an item object, a safe function in a grocery service, and a location service-driven navigation.
Learn to debug AngularJS apps using the Chrome developer console, inspect errors, access services with injector, and log controller scope to troubleshoot in real time.
Generate unique grocery entry ids for offline apps using a get new id function and underscore.js max function, computing the max id in the grocery items array and incrementing it.
Pass and use item IDs to fetch and update grocery entries on an edit page. Loop through grocery items to compare IDs and return the matching object for display.
Distinguish between adding and editing grocery items by checking the route id, load and edit existing items, and implement save logic to update by id or create new entries.
Learn angular form validation by using form objects, dirty and pristine states, and ng pattern rules to enforce input validity in a grocery form.
Learn to delete grocery items in an AngularJS app using a trash can button and ng-click to a remove item function. Handle removal in a grocery service; reverse the list.
Learn to create a custom directive in an AngularJS grocery list app to define a new grocery-item element and improve HTML readability by linking a template.
Implement check and uncheck in a grocery list with ng-class, toggling strike-through text and icons, via dynamic class binding and a grocery service.
Explore how services share grocery item data across controllers, enable unique ids with routing and validation, and use custom directives like ng class directive to dynamically style elements.
Connect your AngularJS application to the cloud using a service called SCDP, enabling AJAX calls to load, create, update, and delete data via the HTTP service.
Connect to the server by loading predefined entries from a data file, simulate ajax calls with the HTTP service, and convert date strings to Date objects.
Learn how to post new entries to a server, receive a server-generated id, and update the local entry with that id while removing client-side id creation.
Update a grocery list item using a post request to the server, and handle a status of 1 for success or 0 for failure with success and error callbacks.
Learn to delete grocery items in an AngularJS for beginners app by sending the item id to the server, validating status, and removing the item on the client on success.
Master how AngularJS handles server interactions for adding, loading, updating, and deleting grocery items using the HTTP service and a RESTful API; post requests synchronize client and server responses.
Recap the AngularJS environment setup, MTC architecture, and the grocery list app's navigation, controllers, and templates. Introduce Ionic for hybrid mobile apps and Bootstrap with Angular for web apps.
Discover essential AngularJS for beginners resources, including the official AngularJS API documentation, Code Academy feedback, example code, and underscore.js library, with tips on localization and event handler examples.
Finish the course and test your AngularJS skills by exploring the Ionic framework, then dive in and get your hands dirty by building mobile and web apps to master AngularJS.
HTML works perfectly fine as far as static documents are concerned. If a web application requires dynamic views however, it's less than ideal. That's where AngularJS comes in; an open-source framework that extends HTML vocabulary for you application, resulting in intuitive, expressive single page applications. For an AngularJS crash course to get you up to speed with this widely used framework, look no further.
Create flawless Single Page Applications with Angular JS
Build frameworks with a versatile, cutting edge toolset
Although only officially released in 2012, AngularJS has taken the world by storm thanks to official support from Google, a community of developers constantly improving it, and some of the internet's biggest websites making use of it. One of its best features is its data binding; dynamic views are automatically updated whenever a model changes, and vice versa. Furthermore, it combines the benefits of deep linking with desktop app-like behaviors, allows you to invent new HTML syntax and is designed to be testable. The result is simplified development and testing of applications and, ultimately, faultless single page and hybrid applications.
Course Overview
This AngularJS crash course is aimed at those who already have a basic understanding of HTML, CSS and Javascript, but who may have limited experience of AngularJS projects. With 3 hours of content and over 50 lectures, it's a fast and efficient way to get yourself up to speed with this framework and start using it in the real world.
This course will allow you to grasp the basic concepts of AngularJS and its main features. You'll be provided with functional examples throughout to compound your learning, giving you the opportunity to put it to practical use.
After an overview of environment setup and MVC architecture, you'll get to grips with the more complex attributes of AngularJS, including modules and dependency injection, controllers, expressions, directives, scopes, filter, routing, and two-way data binding.
From Section 4 onwards, you'll build up a framework for your own dynamic app using bootstrap layouts, filters, list routing and setting parameters. You'll learn how to add useful functions like adding, updating and deleting elements, form validation and more. You'll even tackle debugging with Chrome console and add custom directives to make your HTML as readable as it can be.
By the end of the course, you will be confident enough to begin your own AngularJS projects, using the framework for creating web and hybrid applications of your own. You will have solidified your understanding of the AngularJS language and will be more than capable of putting to real world use with immediate effect.