mirror of
https://github.com/corda/corda.git
synced 2025-01-21 03:55:00 +00:00
Added new files for angular.
This commit is contained in:
parent
7cd8839a59
commit
129f8ee518
2
src/main/webdemo/.gitignore
vendored
Normal file
2
src/main/webdemo/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
bower_components
|
||||
|
19
src/main/webdemo/www/bower.json
Normal file
19
src/main/webdemo/www/bower.json
Normal file
@ -0,0 +1,19 @@
|
||||
{
|
||||
"name": "www",
|
||||
"description": "",
|
||||
"main": "",
|
||||
"license": "MIT",
|
||||
"homepage": "",
|
||||
"private": true,
|
||||
"ignore": [
|
||||
"**/.*",
|
||||
"node_modules",
|
||||
"bower_components",
|
||||
"test",
|
||||
"tests"
|
||||
],
|
||||
"dependencies": {
|
||||
"angular": "^1.5.6",
|
||||
"jquery": "^3.0.0"
|
||||
}
|
||||
}
|
9
src/main/webdemo/www/js/app.js
Normal file
9
src/main/webdemo/www/js/app.js
Normal file
@ -0,0 +1,9 @@
|
||||
"use strict"
|
||||
|
||||
var irsViewer = angular.module('irsViewer', [])
|
||||
|
||||
irsViewer.controller('HomeController', ($http, $scope) => {
|
||||
$http.get('http://localhost:31338/api/irs/deals').then((resp) => {
|
||||
$scope.deals = resp.data
|
||||
})
|
||||
})
|
Loading…
Reference in New Issue
Block a user