Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Tutorial App part 4 - CategoriesCtrl
.controller('CategoriesCtrl', ['$scope', '$ionicLoading', 'Categories', function($scope, $ionicLoading, Categories) {
Categories.all().then(function(data) {
$scope.categories = data;
}, function(error) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.