This is part of a blogpost I wrote to show how you can create a form with several steps using angular.js