Egghead Instructor Trevor Ewen

Trevor Ewen

Trevor is an experienced software consultant, and is currently regarded for his work in HTML5 and the Angular JS community. Presently he resides and produces for Neosavvy, a New York based, computer-science consultancy.



Unlock all of Trevor's PRO Lessons
click for instant access!

Browse Trevor Ewen's lessons.

showing 9 lessons...

Localize your AngularJS Application with angular-localization

P

Hijacking Existing HTML Attributes with Angular Directives

P

Decorating an Angular event for composed behavior

P

Create a Scope Decorator

P

Custom Jasmine 1.3 Matchers

P

Inject Jasmine Spies With $provide

P

Testing Controllers With Dependencies

P

transformRequest

P

transformResponse

P
angularjs tutorial about Localize your AngularJS Application with angular-localization

Localize your AngularJS Application with angular-localization

5:28 angularjs PRO

It is best to start your application's localization efforts early in development, even if you only support one language initially. Libraries like angular-localization help make the process of supporting additional languages much easier.

angularjs tutorial about Hijacking Existing HTML Attributes with Angular Directives

Hijacking Existing HTML Attributes with Angular Directives

3:55 angularjs PRO

Angular overrides quite a few existing HTML elements and attributes. This can be a useful technique in our own applications. We will build a directive that adds additional functionality to the src property of an <img>

angularjs tutorial about Decorating an Angular event for composed behavior

Decorating an Angular event for composed behavior

6:16 angularjs PRO

Events are a useful tool for triggering functionality based on something that has occurred in your application. In this lesson, we will build upon the concepts from the create a scope decorator lesson to create an event decorator that can be used to cleanly compose functionality on top of Angular events.

Create a Scope Decorator

4:30 angularjs PRO

Using Aspect Oriented Programming (AOP) techniques, you can easily decorate AngularJS controller methods to add additional behaviors. This can be useful for handling analytics and other common concerns in a typical application.

Custom Jasmine 1.3 Matchers

1:30 angularjs PRO

Custom Jasmine Matchers are a great way to keep your AngularJS Unit Tests clean and tidy. We want to make expectations readable and express the intent of the test. Custom matchers help to accomplish this.

Inject Jasmine Spies With $provide

1:49 angularjs PRO

One of the beautiful things about dependency injection in your AngularJS apps is the ability to replace dependencies in your unit tests. In this lesson Trevor looks at how to configure Jasmine spies as injectable replacements for dependencies for testing.

angularjs tutorial about Testing Controllers With Dependencies

Testing Controllers With Dependencies

3:40 angularjs PRO

In this lesson Trevor looks at testing AngularJS controllers with scope inheritance with Jasmine and test spies.

transformRequest

6:16 angularjs PRO

In this lesson Trevor will show you how to transform your requests using AngularJS's $http service's transformRequest option and TDD. This allows you to keep your applications domain clean when integrating with third party APIs.

angularjs tutorial about transformResponse

transformResponse

4:01 angularjs PRO

In his debut lesson, Trevor test drives the transformation of a response from an external REST service using the the transformResponse option of AngularJS's $http service.

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