practice store using angular.js, following code school