├── SPA ├── AngularFrontEnd │ ├── app │ │ ├── css │ │ │ ├── .gitkeep │ │ │ └── app.css │ │ ├── img │ │ │ └── .gitkeep │ │ ├── partials │ │ │ ├── .gitkeep │ │ │ ├── sector-component.html │ │ │ ├── transactions-component.html │ │ │ ├── about-page.html │ │ │ ├── home-page.html │ │ │ ├── investment-filter.html │ │ │ ├── nav-bar.html │ │ │ ├── investments-component.html │ │ │ └── investment-page.html │ │ ├── js │ │ │ ├── controllers.js │ │ │ ├── services.js │ │ │ ├── investment-filter.js │ │ │ ├── nav-bar.js │ │ │ ├── filters.js │ │ │ ├── sector-component.js │ │ │ ├── investments-component.js │ │ │ ├── app.js │ │ │ ├── investment-page.js │ │ │ ├── transactions-component.js │ │ │ └── directives.js │ │ ├── mock_server │ │ │ ├── mock-server-stub.js │ │ │ └── mock-server.js │ │ ├── index.html │ │ ├── index-async.html │ │ └── charts │ │ │ ├── svg-column-chart.js │ │ │ └── svg-bar-chart.js │ ├── .bowerrc │ ├── .jshintrc │ ├── .gitignore │ ├── test │ │ ├── unit │ │ │ ├── directivesSpec.js │ │ │ ├── servicesSpec.js │ │ │ ├── controllersSpec.js │ │ │ ├── filtersSpec.js │ │ │ ├── investmentPageSpec.js │ │ │ ├── sectorComponentSpec.js │ │ │ ├── transactionsComponentSpec.js │ │ │ └── investmentsComponentSpec.js │ │ ├── protractor-conf.js │ │ ├── karma.conf.js │ │ └── e2e │ │ │ └── scenarios.js │ ├── .travis.yml │ ├── bower.json │ ├── package.json │ └── gulpfile.js ├── .gitignore └── KnockoutFrontEnd │ ├── .bowerrc │ ├── test │ ├── .bowerrc │ ├── bower.json │ ├── SpecRunner.karma.js │ ├── app │ │ └── search-model.js │ ├── index.html │ ├── components │ │ ├── home-page.js │ │ ├── investment-filter.js │ │ ├── investment-page.js │ │ ├── sector-component.js │ │ ├── transactions-component.js │ │ └── investments-component.js │ ├── SpecRunner.browser.js │ ├── require.config.js │ └── extensions │ │ └── custom-format.js │ ├── .gitignore │ ├── src │ ├── components │ │ ├── home-page │ │ │ ├── home.js │ │ │ └── home.html │ │ ├── investment-filter │ │ │ ├── investment-filter.js │ │ │ └── investment-filter.html │ │ ├── sector-component │ │ │ ├── sector-component.html │ │ │ └── sector-component.js │ │ ├── transactions-component │ │ │ ├── transactions-component.html │ │ │ └── transactions-component.js │ │ ├── about-page │ │ │ └── about.html │ │ ├── nav-bar │ │ │ ├── nav-bar.js │ │ │ └── nav-bar.html │ │ ├── investments-component │ │ │ ├── investments-component.js │ │ │ └── investments-component.html │ │ └── investment-page │ │ │ ├── investment-page.js │ │ │ └── investment-page.html │ ├── app │ │ ├── search-model.js │ │ ├── startup.js │ │ ├── router.js │ │ └── require.config.js │ ├── index.html │ ├── mock_server │ │ ├── mock-server-stub.js │ │ └── mock-server.js │ ├── extensions │ │ ├── custom-format.js │ │ └── charts.js │ ├── css │ │ └── styles.css │ └── charts │ │ ├── svg-column-chart.js │ │ └── svg-bar-chart.js │ ├── bower.json │ ├── package.json │ ├── karma.conf.js │ └── gulpfile.js ├── .gitignore ├── Images ├── SampleApp.png ├── ServedFilesAN.png ├── ServedFilesKO.png └── PropogateFilter.png ├── Dist ├── Angular │ ├── fonts │ │ ├── glyphicons-halflings-regular.eot │ │ ├── glyphicons-halflings-regular.ttf │ │ ├── glyphicons-halflings-regular.woff │ │ └── glyphicons-halflings-regular.svg │ ├── partials │ │ ├── about-page.html │ │ └── investment-page.html │ └── index.html └── Knockout │ ├── fonts │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.ttf │ └── glyphicons-halflings-regular.woff │ ├── index.html │ ├── about-stuff.js │ └── investment-page.js ├── LICENSE └── README.md /SPA/AngularFrontEnd/app/css/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /SPA/AngularFrontEnd/app/img/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /SPA/AngularFrontEnd/app/partials/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /SPA/.gitignore: -------------------------------------------------------------------------------- 1 | *.suo 2 | AngularFrontEnd/dist/ 3 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | SPA/*.bat 2 | SPA/AngularFrontEnd.sln 3 | npm-debug.log 4 | -------------------------------------------------------------------------------- /SPA/AngularFrontEnd/.bowerrc: -------------------------------------------------------------------------------- 1 | { 2 | "directory": "app/bower_components" 3 | } -------------------------------------------------------------------------------- /SPA/KnockoutFrontEnd/.bowerrc: -------------------------------------------------------------------------------- 1 | { 2 | "directory": "src/bower_modules" 3 | } 4 | -------------------------------------------------------------------------------- /SPA/KnockoutFrontEnd/test/.bowerrc: -------------------------------------------------------------------------------- 1 | { 2 | "directory": "bower_modules" 3 | } 4 | -------------------------------------------------------------------------------- /Images/SampleApp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andy-lee-eng/Angular-vs-Knockout/HEAD/Images/SampleApp.png -------------------------------------------------------------------------------- /Images/ServedFilesAN.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andy-lee-eng/Angular-vs-Knockout/HEAD/Images/ServedFilesAN.png -------------------------------------------------------------------------------- /Images/ServedFilesKO.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andy-lee-eng/Angular-vs-Knockout/HEAD/Images/ServedFilesKO.png -------------------------------------------------------------------------------- /SPA/AngularFrontEnd/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "globalstrict": true, 3 | "globals": { 4 | "angular": false 5 | } 6 | } -------------------------------------------------------------------------------- /Images/PropogateFilter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andy-lee-eng/Angular-vs-Knockout/HEAD/Images/PropogateFilter.png -------------------------------------------------------------------------------- /SPA/AngularFrontEnd/.gitignore: -------------------------------------------------------------------------------- 1 | logs/* 2 | !.gitkeep 3 | node_modules/ 4 | bower_components/ 5 | tmp 6 | .DS_Store 7 | .idea -------------------------------------------------------------------------------- /SPA/KnockoutFrontEnd/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules/ 3 | bower_modules/ 4 | 5 | # Don't track build output 6 | dist/ 7 | -------------------------------------------------------------------------------- /Dist/Angular/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andy-lee-eng/Angular-vs-Knockout/HEAD/Dist/Angular/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /Dist/Angular/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andy-lee-eng/Angular-vs-Knockout/HEAD/Dist/Angular/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /Dist/Angular/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andy-lee-eng/Angular-vs-Knockout/HEAD/Dist/Angular/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /Dist/Knockout/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andy-lee-eng/Angular-vs-Knockout/HEAD/Dist/Knockout/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /Dist/Knockout/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andy-lee-eng/Angular-vs-Knockout/HEAD/Dist/Knockout/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /Dist/Knockout/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andy-lee-eng/Angular-vs-Knockout/HEAD/Dist/Knockout/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /SPA/KnockoutFrontEnd/test/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "test", 3 | "version": "0.0.0", 4 | "private": true, 5 | "dependencies": { 6 | "jasmine": "~2.0.0", 7 | "requirejs": "~2.1.11" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /SPA/AngularFrontEnd/test/unit/directivesSpec.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /* jasmine specs for directives go here */ 4 | 5 | describe('directives', function() { 6 | beforeEach(module('testSPA.directives')); 7 | 8 | describe('app-version', function() { 9 | 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /SPA/AngularFrontEnd/app/partials/sector-component.html: -------------------------------------------------------------------------------- 1 |
| {{transaction.date | customDate}} | {{transaction.amount | customCurrency}} | {{transaction.valuation ? 'Valuation' : ''}} |
| Name | 10 |Investment Date | 11 |Holding Period | 12 |Invested | 13 |Return | 14 |Return % | 15 |
|---|---|---|---|---|---|
| {{investment.name}} | 20 |{{investment.startDate | customDate}} | 21 |{{investment.holdingPeriod | duration}} | 22 |{{investment.investedAmount | customCurrency}} | 23 |{{investment.returnAmount | customCurrency}} | 24 |{{investment.returnOnInvestment | percent}} | 25 |
| Name | 10 |Investment Date | 11 |Holding Period | 12 |Invested | 13 |Return | 14 |Return % | 15 |
|---|---|---|---|---|---|
| 20 | | 21 | | 22 | | 23 | | 24 | | 25 | |
8 |
21 |
| {{transaction.date | customDate}} | 27 |{{transaction.amount | customCurrency}} | 28 |{{transaction.valuation ? 'Valuation' : ''}} | 29 |
8 |
21 |
| 27 | | 28 | | 29 | |
\r\n
\r\n
| \r\n | \r\n | \r\n |