Skip to content

Instantly share code, notes, and snippets.

@L42y
Created March 19, 2013 13:53
Show Gist options
  • Select an option

  • Save L42y/5196280 to your computer and use it in GitHub Desktop.

Select an option

Save L42y/5196280 to your computer and use it in GitHub Desktop.

Revisions

  1. L42y created this gist Mar 19, 2013.
    9 changes: 9 additions & 0 deletions gistfile1.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    function FirstCtrl($scope) {
    First.query({}, function(items) {
    $scope.first = items;
    });

    Second.query({}, function(items) {
    $scope.second = items;
    });
    }