Pete BD

London, United Kingdom

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
Jul
22
awarded Good Answer
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 AngularJS - Processing $http response in service
added cached version of the code
Oct
16
comment AngularJS - 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 AngularJS - 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
Oct
7
awarded Announcer
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
Jun
10
comment Git Bash shell can't find java.exe
I also am having this problem. Anyone got any ideas?
Jun
4
awarded Enlightened
1 2 3 4 5