How to set up an Apache virtual host on Linux

Published: Wednesday, January 28th, 2015 by Chris Taylor

This is a quick and easy post to show you how to set up a virtual host on your local machine for web development. So let’s say that you’ve got fancy new-age web app using AngularJS or the like, and you want to set up a proper development environment on your local machine. For this […]

Our favourite way to structure AngularJS project

Published: Monday, January 26th, 2015 by James Martin

I touched on this in my previous blog post, but I thought it might be worth while explaining a few of the common ways to structure AngularJS applications, and the explain why we like the one we do. Simple If you’re coming from, say, a PHP background, you may decide to organise your files by […]

What’s awesome about cg-angular

Published: Friday, January 23rd, 2015 by James Martin

For our most recent AngularJS project, we’re using Yo to generate the files. This is really common practice for Angular apps, and Yo is a fantastic tool for helping to keep your code organised. We tried a few generators before we settled on cg-angular. The standard angulat-generator was alright, but it doesn’t support ui-router, which […]

Starting off with NgDocs

Published: Monday, January 5th, 2015 by James Martin

Documenting code is important – if you’re working in a team, it allows colleagues who perhaps weren’t involved in the original development to see what goes where, and even if you’re lone wolf-ing it, it always helps to have a reminder of what a function does. There are plenty of standards for commenting code – […]

Default child states in Angular ui-router

Published: Monday, January 5th, 2015 by Tyler Crammond

Without a doubt the AngularUI Router is one of the most sophisticated routers available for AngularJS. That said, it’s not perfect (yet). It doesn’t currently support the ability to define a default child state of an abstract state (open github issue). It’s probably a fairly specific use case, so it’s understandable. There are some suggestions […]