Pete BD

London, United Kingdom

Nov
7
awarded Popular Question
Oct
23
awarded Announcer
Sep
22
awarded Famous Question
Sep
15
awarded Good Answer
Aug
6
comment How to provide mock files to change event of <input type='file'> for unit testing
@runTarm is correct here. jqLite should be fixed in this regard by github.com/angular/angular.js/pull/8505
Jun
4
answered Reporting an error while using data source with $resource
Jun
2
awarded Nice Answer
Apr
15
awarded Notable Question
Mar
5
awarded Yearling
Feb
3
awarded Great Answer
Dec
6
revised Processing $http response in service
added cached version of the code
Oct
16
comment Processing $http response in service
@Blowsie- I have updated the Plunks. Here is the original (updated to 1.2RC3): plnkr.co/edit/3Nwxxk?p=preview Here is one using service: plnkr.co/edit/a993Mn?p=preview
Oct
16
comment Processing $http response in service
@Julian - what you are suggesting is called automatic promise unwrapping. It is being deprecated in Angular 1.2 as it can lead to confusing inconsistencies. It is better to unwrap explicitly in your controller.
Oct
15
awarded Nice Question
Oct
8
answered Table from 2D array in AngularJS
Sep
20
awarded Necromancer
Aug
27
revised How to write a debounce service in AngularJS
Added some comments
Aug
27
comment How to write a debounce service in AngularJS
I agree with Roy here
Jul
18
answered What are practical uses of the $destroy event of jqLite (or AngularJS-patched jQuery)?
Jul
2
answered Angular 1.1.5 test promise-based service
1 2 3 4 5