Skip to content

Instantly share code, notes, and snippets.

@vitaliy-bobrov
Created February 5, 2015 15:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vitaliy-bobrov/2920571492e9d661a510 to your computer and use it in GitHub Desktop.
Save vitaliy-bobrov/2920571492e9d661a510 to your computer and use it in GitHub Desktop.
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