Following along with the tutorial from Angular JS site.