Category: AngularJS

Debugging JSON in an AngularJS application

So when you query an API or Web service and it chucks you back a load of JSON, you now need to figure out the structure of that data to work it into your AngularJS template. This can sometimes be

Tagged with: ,

Adding classes with AngularJS

So I’ve just added a nice bit of functionality to getTestr, where you can test a website from the homepage without being registered or logged in. When the website url is entered, getTestr goes off and tests the website, displaying

Tagged with: ,

Ajax spinners and why they are essential

I was having a conversation with another developer last week who was of the opinion that Ajax spinners (those little circles that spin round while a web page page is loading) are a waste of time. His view was that

Tagged with: ,

AngularJS basics – code samples

I did a talk/demo last night at Bristol FED about AngularJS. The live demo went pretty well considering I was using a Macbook booted to Windows, with Visual Studio 2011 and no Resharper! It was a great night with some

Tagged with: , , ,

Maintaining session info in AngularJS when you refresh the page

EDIT: This article has proved to be the most popular article on my site, but I thought it was a bit “rambly” and also the code examples were out of date. So this is the March 2016 Remix with added

Tagged with: , , , , , ,