Created
October 1, 2013 07:36
-
-
Save dcramer/6775018 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Changes = angular.module('Changes', ['ngAnimate', 'ngRoute']). | |
config(['$routeProvider', function($routeProvider) { | |
$routeProvider. | |
when('/', { | |
templateUrl: 'partials/change-list.html', | |
resolve: { | |
initialData: function($http) { | |
return $http.get('/api/0/changes/'); | |
} | |
}, | |
controller: ChangeListCtrl | |
}). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment