New Toronto Group

September 2015 Archives

angular-deferred-bootstrap - New Toronto Group

angular-deferred-bootstrap

| September 23th, 2015 by Alain Thibodeau

I wanted to share a helpful AngularJS component that has helped me in the past; perhaps it can also help you one day. In the last year I worked on AngularJS applications that required me to get data from the server before bootstrapping the application.

Read more »

Posted in AngularJS | 0 Comments

An Introduction to AngularJS Interceptors - New Toronto Group

An Introduction to AngularJS Interceptors

| September 21th, 2015 by Doug Riches

From time to time when making $http requests in Angular, we find the need to pre and post process each request/response. Luckily AngularJS’s $httpProvider has an array property called interceptors that contains a series of factories give us control over what is coming and going. Interceptor objects are simply Angular factories that have a defined set of methods that allow us to hook into every request and response sent via $http.

Read more »

Posted in AngularJS | 0 Comments