This is a simple demo of how to create and use a Response Interceptor in AngularJS. In this case we are using the interceptor to convert the objects created from a JSON data load into typed instances of a custom "class".
Modified http://cdnjs.cloudflare.com/ajax/libs/angular.js/1.0.1/angular.min.js to a secure url
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.0.1/angular.min.js