Created
February 16, 2015 12:21
-
-
Save cladera/ebbf5b2f6aada54d4f20 to your computer and use it in GitHub Desktop.
Google Analytics Experiments in AngularJS - listcontroller.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
angular.module('myStoreApp') | |
.controller('ListController', ['$scope', '$http', function($scope, $http){ | |
$http.get('api.mystore.com/products/') | |
.success(function(products){ | |
$socpe.products = products; | |
}); | |
}]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment