OdeToCode | 24 Apr 2014 09:12
Scott Allen writes "....One of the objects you can pass along in the config argument of an $http operation is a timeout promise. If the promise resolves, Angular will cancel the corresponding HTTP request.
Sounds easy, but in practice there are a few complications. Before..."
Read more » Canceling $http Requests in AngularJS
OdeToCode | 23 Apr 2014 09:12
I think you need to work in an environment you enjoy. Some people do not enjoy client..."
OdeToCode | 21 Apr 2014 09:12
Scott Allen writes "....In my recent work I’ve been using two approaches to handling errors and exceptions. The ultimate goal is to not let an error go unnoticed. $exceptionHandler First up is a decorator for the $exceptionHandler service. We’ve looked at other decorators..."
Read more » Better Error Handling In AngularJS
OdeToCode | 17 Apr 2014 09:12
Scott Allen writes "....Today’s tip comes straight from the AngularJS documentation, but I’ve seen a few people miss the topic.
Inside an ngRepeat directive the special properties $first, $last, and $middle are available. These properties hold boolean..."
Read more » The Special Properties of ngRepeat In AngularJS
OdeToCode | 15 Apr 2014 09:12
Scott Allen writes "....When Microsoft released the source code to MS-DOS and Word, I had to take a look. One of the first functions I came across was ReplacePropsCa from the srchfmt.c file.
/* %%Function:ReplacePropsCa %%Owner:rosiep */
Read more » Deconstructing A Function From Microsoft Word 1.1a
OdeToCode | 14 Apr 2014 09:12
Scott Allen writes "....The idea is to dynamically generate a tabbed navigation using Angular and UI Bootstrap. I’ve done this before, but this time around I needed the ability to deep link into a tab. That is, if a user bookmarks /someapp/tab2, then the 2nd tab..."
Read more » Deep Linking a Tabbed UI With AngularJS
OdeToCode | 08 Apr 2014 09:12
Scott Allen writes "....A few months ago I found myself in a situation where I had to throw some dynamically generated scripts into the browser for testing (and occasionally inspecting and debugging). I wrote a small custom directive to take care of most of the work...."
Read more » Dynamically Injecting Script Tags With AngularJS
OdeToCode | 07 Apr 2014 09:12
Read more » Azure WebJobs With Node.js
OdeToCode | 03 Apr 2014 09:12
Scott Allen writes "....The Azure SDK for Node.js is feature rich and comprehensive, but there is always room to provide some additional abstraction and tailor an API to make it easier to use inside a specific application.
For example, imagine we need to the ability to get..."
Read more » Adapting The Azure Queue API For Node.js
OdeToCode | 02 Apr 2014 09:12
Scott Allen writes "....In software development we face many constraints, and we usually think of constraints as bad things that make our jobs miserable. If we had no constraints, we’d build beautiful software with impeccable error handling because there would be no..."
Read more » Scarcity In Software Development