mirror of
https://github.com/fergalmoran/roboto-promoto.git
synced 2026-01-03 15:35:26 +00:00
Initial Commit
This commit is contained in:
8
app/scripts/controllers/main.js
Normal file
8
app/scripts/controllers/main.js
Normal file
@@ -0,0 +1,8 @@
|
||||
'use strict';
|
||||
|
||||
angular.module('robotoApp')
|
||||
.controller('MainCtrl', function ($scope, $http) {
|
||||
$http.get('/api/awesomeThings').success(function(awesomeThings) {
|
||||
$scope.awesomeThings = awesomeThings;
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user