Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Blogin App empty controllers
angular.module('starter.controllers', [])
.controller('CategoriesCtrl', ['$scope', 'Categories', function($scope, Categories) {
}])
.controller('CategoryCtrl', ['$scope', '$stateParams', 'Categories', function($scope, $stateParams, Categories) {
}])
.controller('ArticlesCtrl', ['$scope', 'Articles', function($scope, Articles) {
}])
.controller('ArticleDetailCtrl', ['$scope', '$stateParams', 'Articles', function($scope, $stateParams, Articles) {
}]);
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.