OdeToCode IC Logo

An AngularJS Playbook

Tuesday, February 17, 2015

My latest Pluralsight release is “An AngularJS Playbook”.

This course is geared for developers who already know Angular. Topics include:

- How to manage API access tokens

- Strategies for building robust error and diagnostic services

- Data-binding instrumentation

- Working with UI Router and UI Bootstrap

- The latest fashion in form validation techniques

- Custom directives, custom directives, and custom directives

- Techniques to wrap and integrate 3rd party code with directives and services.

As always, thanks for watching!

AngularJS Playbook Video Course

Gravatar Shahrokh Tuesday, February 17, 2015
I'm wondering what is the recommended way of making those small self-executing anonymous functions, minification safe.
Gravatar scott Tuesday, February 17, 2015
Self-executing anonymous functions are safe to minify. Maybe you are referring to the functions you use to register controllers, services, directives, etc? Use a tool like ngAnnotate, would be my recommendation.
Nat Tuesday, February 17, 2015
Hi Scott, Nicely done! Love your work. Now you just need to bring your formidable training skills to the Aurelia framework (it seems to be shaping up as a very nice (and simpler) Angular competitor). Nat
Gravatar Jay Wednesday, February 18, 2015
Great course Scott! I really liked it. One question: is it not better to store tokens in sessionStorage instead of localStorage? For minification purposes I use the following pattern: (function (module) { module.controller('MainCtrl', mainCtrl); mainCtrl.$inject = ['TitleProvider']; function mainCtrl(titleProvider) { var model = this; model.title = titleProvider.title; } }(angular.module('myApp')));
Gravatar scott Wednesday, February 18, 2015
@Jay: Thanks! You can pick one or the other, localStorage is more persistent so you would expect the token to be on the hard drive somewhere, if that's a concern use localStorage, but in either case keys usually have much shorter expirations than cookies.
Gravatar kubi Wednesday, March 4, 2015
Thank you for the great course. Is it possible to restrict unauthorized users to the view (html) files? Is this related with IIS configuration? Because we don't want to allow anonymous users to see our template files.
Gravatar scott Wednesday, March 4, 2015
@kubi: Yes, you could do this with IIS or OWIN middleware.
Gravatar Awwal Chaudhary Wednesday, March 25, 2015
Hi Scott, where will I get the code ?
Gravatar Scott Thursday, March 26, 2015
@Awwal - there are the exercise files you can download.
Comments are closed.