controllers.js 343 B

123456789101112131415
  1. angular.module('starter.controllers', ['starter.services'])
  2. .controller('AppCtrl', function($scope, $ionicModal, $timeout) {
  3. })
  4. .controller('SnippetsCtrl', function($scope, Snippets) {
  5. $scope.snippets = Snippets.query();
  6. })
  7. .controller('githubUserCtrl', function($scope, githubUser) {
  8. $scope.githubUserData = githubUser.get();
  9. })