Blog Archives

Adding classes with AngularJS

angularjs logo featured image

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

Posted in AngularJS, Code samples Tagged with: ,

Ajax spinners and why they are essential

getTestr spinner

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

Posted in Ajax, AngularJS Tagged with: ,

AngularJS basics – code samples

angularjs logo featured image

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

Posted in AngularJS, Code samples, Presentations Tagged with: , , ,

Maintaining session info in AngularJS when you refresh the page

angularjs logo

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

Posted in AngularJS, Code, MVC, Razor, Web development Tagged with: , , , , , ,

Binding Razor forms to an AngularJS model with Html.TextBoxFor()

angularjs logo featured image

I was hooking up my login page work with angular, but wanted to keep the MVC model authentication (because it works and I like it). So I tried this: @Html.TextBoxFor(m => m.userName, new { ng-model = “logon.userName” }) Surprisingly this

Posted in AngularJS, Code, MVC, Razor, SPA, Web development Tagged with: , , , , ,

About Maff

Maff Rigby

I'm a certified .Net, Umbraco and AngularJS freelance developer with over 15 years experience in the IT industry. As well as writing code I love to teach; I run a number of workshops and 1-1 coaching sessions on Angular JS and Umbraco, and share what I know and learn here!

I’m social (ish)

Connect with me on LinkedIn, follow me on Twitter, or fail to find me on Facebook.