GoDaddy Site Seal takes forever to load

On March 8, 2016, in Browsers, Miscellaneous, by Anuj Gakhar

On one of my sites, I use the GoDaddy Site seal and sometimes, it takes forever to load, causing serious damage to the page load times. It does not matter whether you put the code in the header section of the page or in the footer of the page, it won’t make a difference. It […]

Tagged with:  

A simple TicTacToe game with AngularJS

On June 16, 2013, in Javascript, by Anuj Gakhar

This weekend, I decided to do a little practice project with AngularJS. I made a TicTacToe Game. Here are some notes about the game :- It’s a two player game, human vs computer. It uses NegaMax Search for computer moves. There are no DOM updates from the Angular controller (best practice). The controller simply changes […]

Tagged with:  

Duplicates in a repeater are not allowed in AngularJS

On June 15, 2013, in Javascript, by Anuj Gakhar

AngularJS does not allow duplicates in a ng-repeat directive. This means if you are trying to do the following, you will get an error. However, changing the above code slightly as below will get it working again. The credit for the fix goes to comments in this thread https://github.com/angular/angular.js/pull/2505

Tagged with:  

AngularJS Directive for Google FastButton

On December 27, 2012, in Javascript, by Anuj Gakhar

In my latest project, I’ve been working on a HTML5 Mobile App for iPad and one of the things we wanted to get rid of was the 300ms click delay that Mobile Safari has. There is a reason for the delay to be there in first place, i.e. the browser is waiting to see whether […]

Tagged with:  

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 445 other subscribers

© 2011 Anuj Gakhar