
As web applications get more complex, Javascript is tedious, repetitive and hard to maintain. We need something which is built for large scale projects.
Angular makes heavy use of design patterns and is built to make testing easier. These are just some reasons to use this framework.
Get Angular core components and other libraries set up on your machine.
What are all those files you just downloaded? A brief guide.
Run your own local server, it is super fast and simple!
See the big picture, visually. Get familiar with the terms so they don't seem so daunting.
Set up Angular in a development environment, bootstrap the app, and render a hello Angular expression using the double curly braces; see how removing the ng directive leaves braces literal.
Data binding in Angular is pure magic, get started with it right away!
Controllers are the glue which hold the UI and the underlying code together.
Services are libraries which can be used anywhere in your Angular application.
Understand how an Angular controller links data and functions to a view through a scope. The ng-controller directive creates a controller instance on a specific element with its own scope.
Lazily instantiated, singleton libraries!
Every controller has its own scope
Demonstrate how two AngularJS controllers each create distinct scopes, showing how the scope and controller objects relate, and how identical variable names yield different user interface data.
Explore nested scopes in Angular by creating child scopes through directives, giving each list item its own scope, and understanding how child scopes access parent data while isolating variables.
The scope hierarchy mimics the DOM hierarchy, understand what that means.
Scopes propagate events, upwards to the parent scope and downwards to the child scopes.
Explore how to emit and broadcast events in AngularJS, using a three-scope hierarchy to see upward and downward event propagation, and track per-scope counts with a simple controller setup.
Learn how the templateUrl property can use a function with element and attributes to generate custom content for directive elements based on the about attribute (name, party, spouse).
Directives can be attributes, elements, comments and even CSS classes. You can restrict how you want your custom directive to be used.
Discover how a single directive can display different candidate data by using two controllers with separate scopes for Donald Trump and Hillary Clinton, a known hack.
Learn how isolated scopes in AngularJS directives provide per-directive data, binding specific parent data to each directive while avoiding controller hacks.
Understanding how data binding works in Angular is key to writing good code.
Explore how the Angular watch list binds UI to model variables via input bindings, ng repeat, and implicit and explicit watches in the watch list controller.
All code runs in the Angular context, this is how Angular keeps 2 way data binding working!
Learn to use $apply by passing a function, wrapping updates in a try-catch, so digest runs and partial updates aren’t lost due to errors.
Learn to replace external JavaScript callbacks with Angular libraries and services, ensuring updates stay within the Angular context using Angular equivalents like ng-click and the timeout service.
Watches can be set up on objects as well as collections, make sure you use the right methods and right parameters!
NOTE: This course uses Angular version 1.5.8 and is not compatible with Angular 2
Angular JS is a complete re-imagination of how web applications should be built. It takes best practices, learnt the hard way, and makes them super simple for everyone to use. Learn by example, in small easy-to-digest bits.
Let's parse that.
What's included in this course: