forked from tensam/gocryptotrader
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I should have it now. But cannot check it out due to lack of CDN conn…
…etivity
- Loading branch information
1 parent
174d715
commit 5176a10
Showing
6 changed files
with
41 additions
and
8 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
config.json | ||
config.json | ||
node_modules | ||
lib |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
'use strict'; | ||
|
||
/* Controllers */ | ||
|
||
angular.module('gocryptoweb.controllers', []). | ||
controller('HomeController', function ($scope, $http) { | ||
$scope.working = true; | ||
$http({ | ||
method: 'GET', | ||
url: '/data/all-enabled-currencies' | ||
}). | ||
success(function (data, status, headers, config) { | ||
$scope.exchanges = data.data.exchanges; | ||
}). | ||
error(function (data, status, headers, config) { | ||
console.log('error'); | ||
}); | ||
|
||
}). | ||
controller('MyCtrl1', function ($scope) { | ||
// write Ctrl here | ||
|
||
}); |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
|
||
exports.index = function(req, res){ | ||
res.render('index'); | ||
}; | ||
|
||
exports.partials = function (req, res) { | ||
var name = req.params.name; | ||
res.render('partials/' + name); | ||
}; |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<!-- views/partials/footer.ejs --> | ||
|
||
<p class="text-center text-muted">© Copyright 2016 GoCrypto Trader</p> | ||
<p class="text-center text-muted">Copyright 2016 GoCrypto Trader</p> |