Angular 1.x Fundamentals 2016-06-17

Watch User Created Playlist (11)

This playlist is user created.

pro-course-rss-logo

PRO RSS Feed

Resolve

P

The config function

P

templateUrl

P

Building Zippy

P

An Alternative Approach to Controllers

P

Transclusion Basics

P

Thinking Differently About Organization

P

angular.element

P

$templateCache

P

Basic Promises in AngularJS

P

resolve conventions

P
angularjs tutorial about Resolve

Resolve

2:05 angularjs PRO

This video shows how the AngularJS 'resolve' feature can be used during the config phase before your controller has been instantiated. This gives you the opportunity to ensure everything has been setup properly that your controller depends on, thus allowing your controller to execute safely based on its assumptions.

angularjs tutorial about The config function

The config function

2:55 angularjs PRO

This episode explains the config phase of an AngularJS application and how is it special in regards to $routeProvider (routing configuration) and providers in general.

templateUrl

3:45 angularjs PRO

If you want to keep your template code in a separate html file, you can use the templateUrl property to tell Angular where to find it.

angularjs tutorial about Building Zippy

Building Zippy

7:55 angularjs PRO

Building a demo AngularJS directive named Zippy using ng-model, ng-click and transclusion (no controller)

An Alternative Approach to Controllers

2:49 angularjs PRO

AngularJS makes your HTML very declarative. However, seeing the functions invoked in your HTML may not offer any clues as to what controller defines said functions. This video offers an approach to solving this problem by returning the controller in the controller definition so that we can opt for something like ng-click="SomeCtrl.doesSomething()" instead of simply writing ng-click="doesSomething()".

angularjs tutorial about Transclusion Basics

Transclusion Basics

2:48 angularjs PRO

Uh oh. Transclusion? What the heck? It's a big word, but it is actually a very simple concept. In this episode John shows you how transclusion is used in your AngularJS directives...

Thinking Differently About Organization

4:22 angularjs PRO

Demonstrates an “outside the box” approach to organizing controllers and directives by collecting them into objects and them passing those object to AngularJS.

angularjs tutorial about angular.element

angular.element

8:40 angularjs PRO

A brief overview of using element in an AngularJS directive, and how to target one without jquery, and also how to use replace and compile function

$templateCache

3:07 angularjs PRO

An alternative to inject an AngularJS template by using $templateCache, using .get() and .put() methods

Basic Promises in AngularJS

4:03 angularjs PRO

An AngularJS promise is a mechanism that lets you defer a stated action or series of actions at an earlier point of time until you explicitly declare that promise to be fulfilled (or resolved). Promises are useful for asynchronous operations. This video introduces the basic way to declare and resolve promises.

angularjs tutorial about resolve conventions

resolve conventions

3:23 angularjs PRO

This video shows a more generalized way of using the AngularJS resolve feature with controllers to organize the conditions before the controller is instantiated. The video shows how to condition the controller's instantiation on more than one set of actions (function), and even pass values from the condition processing into the controller's scope once it gets instantiated.

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?