Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
app.controller('StoreController', ['$http', function ($http) {
var store = this;
store.products = [];
$http.get('/products.json').success(function(data){
console.log(data)
});
}]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment