├── app ├── readMore.html ├── bower_components │ ├── html5-boilerplate │ │ ├── src │ │ │ ├── js │ │ │ │ ├── main.js │ │ │ │ └── plugins.js │ │ │ ├── img │ │ │ │ └── .gitignore │ │ │ ├── .gitattributes │ │ │ ├── robots.txt │ │ │ ├── tile.png │ │ │ ├── favicon.ico │ │ │ ├── tile-wide.png │ │ │ ├── apple-touch-icon.png │ │ │ ├── .gitignore │ │ │ ├── .editorconfig │ │ │ ├── humans.txt │ │ │ ├── browserconfig.xml │ │ │ ├── crossdomain.xml │ │ │ ├── doc │ │ │ │ ├── TOC.md │ │ │ │ ├── js.md │ │ │ │ ├── faq.md │ │ │ │ ├── usage.md │ │ │ │ ├── css.md │ │ │ │ ├── misc.md │ │ │ │ └── html.md │ │ │ ├── 404.html │ │ │ ├── index.html │ │ │ └── css │ │ │ │ └── main.css │ │ ├── dist │ │ │ ├── img │ │ │ │ └── .gitignore │ │ │ ├── js │ │ │ │ ├── main.js │ │ │ │ └── plugins.js │ │ │ ├── .gitattributes │ │ │ ├── robots.txt │ │ │ ├── tile.png │ │ │ ├── favicon.ico │ │ │ ├── tile-wide.png │ │ │ ├── apple-touch-icon.png │ │ │ ├── .gitignore │ │ │ ├── .editorconfig │ │ │ ├── humans.txt │ │ │ ├── browserconfig.xml │ │ │ ├── crossdomain.xml │ │ │ ├── LICENSE.txt │ │ │ ├── doc │ │ │ │ ├── TOC.md │ │ │ │ ├── js.md │ │ │ │ ├── faq.md │ │ │ │ ├── usage.md │ │ │ │ ├── css.md │ │ │ │ ├── misc.md │ │ │ │ └── html.md │ │ │ ├── 404.html │ │ │ ├── index.html │ │ │ └── css │ │ │ │ ├── main.css │ │ │ │ └── normalize.css │ │ ├── .gitignore │ │ ├── .bower.json │ │ ├── .editorconfig │ │ ├── .jshintrc │ │ ├── .gitattributes │ │ ├── LICENSE.txt │ │ ├── package.json │ │ ├── .jscsrc │ │ ├── test │ │ │ ├── file_content.js │ │ │ └── file_existence.js │ │ ├── .travis.yml │ │ ├── README.md │ │ ├── gulpfile.js │ │ └── CONTRIBUTING.md │ ├── angular │ │ ├── index.js │ │ ├── angular.min.js.gzip │ │ ├── bower.json │ │ ├── angular-csp.css │ │ ├── .bower.json │ │ ├── package.json │ │ └── README.md │ ├── angular-mocks │ │ ├── ngMock.js │ │ ├── ngMockE2E.js │ │ ├── ngAnimateMock.js │ │ ├── bower.json │ │ ├── .bower.json │ │ ├── package.json │ │ └── README.md │ ├── angular-route │ │ ├── index.js │ │ ├── bower.json │ │ ├── .bower.json │ │ ├── package.json │ │ ├── README.md │ │ ├── angular-route.min.js │ │ └── angular-route.min.js.map │ └── angular-loader │ │ ├── bower.json │ │ ├── .bower.json │ │ ├── package.json │ │ ├── angular-loader.min.js │ │ ├── README.md │ │ └── angular-loader.min.js.map ├── views │ ├── about │ │ ├── about.html │ │ └── about.js │ ├── sat │ │ ├── sat.html │ │ └── sat.js │ ├── view2 │ │ ├── view2.html │ │ ├── view2.js │ │ └── view2_test.js │ ├── view3 │ │ ├── view3.html │ │ └── view3.js │ ├── cmath │ │ ├── algebra │ │ │ ├── algebra.html │ │ │ └── algebra.js │ │ ├── complex-variables │ │ │ └── complex-varibles.html │ │ ├── cmath.html │ │ └── cmath.js │ ├── not-taught │ │ ├── not-taught.html │ │ └── not-taught.js │ ├── sidestory │ │ ├── sidestory.html │ │ └── sidestory.js │ ├── view1 │ │ ├── view1.html │ │ ├── view1_test.js │ │ └── view1.js │ └── home │ │ ├── home.js │ │ ├── home_test.js │ │ └── home.html ├── public │ ├── images │ │ ├── fibo.jpg │ │ ├── khong.jpg │ │ ├── fibo-tiny.jpg │ │ └── home-page │ │ │ ├── MathHomeImage.png │ │ │ └── the-scale-of-the-universe-2.swf │ └── css │ │ └── app.css ├── components │ └── version │ │ ├── version.js │ │ ├── version-directive.js │ │ ├── interpolate-filter.js │ │ ├── version_test.js │ │ ├── interpolate-filter_test.js │ │ └── version-directive_test.js ├── app.js ├── index-async.html └── index.html ├── .gitignore ├── bower.json ├── karma.conf.js ├── LICENSE └── package.json /app/readMore.html: -------------------------------------------------------------------------------- 1 |

ReadMore

2 | -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/src/js/main.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/dist/img/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/dist/js/main.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/src/img/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/views/about/about.html: -------------------------------------------------------------------------------- 1 |

Home page views/about.

2 | -------------------------------------------------------------------------------- /app/views/sat/sat.html: -------------------------------------------------------------------------------- 1 | 2 |

This is SAT - views/sat

3 | 4 | -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/src/.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/.gitignore: -------------------------------------------------------------------------------- 1 | archive 2 | node_modules 3 | -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/dist/.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | -------------------------------------------------------------------------------- /app/views/view2/view2.html: -------------------------------------------------------------------------------- 1 |

This is the partial for views/view 2.

2 | 3 | -------------------------------------------------------------------------------- /app/views/view3/view3.html: -------------------------------------------------------------------------------- 1 |

This is the partial for views/view 3.

2 | 3 | -------------------------------------------------------------------------------- /app/views/cmath/algebra/algebra.html: -------------------------------------------------------------------------------- 1 |

Home page views/cmath/algebra : algebra.html

-------------------------------------------------------------------------------- /app/bower_components/angular/index.js: -------------------------------------------------------------------------------- 1 | require('./angular'); 2 | module.exports = angular; 3 | -------------------------------------------------------------------------------- /app/views/not-taught/not-taught.html: -------------------------------------------------------------------------------- 1 | 2 |

This is the partial for not-taught.

3 | 4 | -------------------------------------------------------------------------------- /app/views/sidestory/sidestory.html: -------------------------------------------------------------------------------- 1 | 2 |

This is Side Story - views/sidestory

3 | 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | logs/* 2 | !.gitkeep 3 | node_modules/ 4 | bower_components/ 5 | tmp 6 | .DS_Store 7 | .idea 8 | -------------------------------------------------------------------------------- /app/bower_components/angular-mocks/ngMock.js: -------------------------------------------------------------------------------- 1 | require('./angular-mocks'); 2 | module.exports = 'ngMock'; 3 | -------------------------------------------------------------------------------- /app/bower_components/angular-route/index.js: -------------------------------------------------------------------------------- 1 | require('./angular-route'); 2 | module.exports = 'ngRoute'; 3 | -------------------------------------------------------------------------------- /app/public/images/fibo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PyGoogle/epicmath/master/app/public/images/fibo.jpg -------------------------------------------------------------------------------- /app/bower_components/angular-mocks/ngMockE2E.js: -------------------------------------------------------------------------------- 1 | require('./angular-mocks'); 2 | module.exports = 'ngMockE2E'; 3 | -------------------------------------------------------------------------------- /app/public/images/khong.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PyGoogle/epicmath/master/app/public/images/khong.jpg -------------------------------------------------------------------------------- /app/public/images/fibo-tiny.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PyGoogle/epicmath/master/app/public/images/fibo-tiny.jpg -------------------------------------------------------------------------------- /app/bower_components/angular-mocks/ngAnimateMock.js: -------------------------------------------------------------------------------- 1 | require('./angular-mocks'); 2 | module.exports = 'ngAnimateMock'; 3 | -------------------------------------------------------------------------------- /app/views/cmath/complex-variables/complex-varibles.html: -------------------------------------------------------------------------------- 1 |

Home page views/cmath/complex-variables : complex-variables.html

-------------------------------------------------------------------------------- /app/public/images/home-page/MathHomeImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PyGoogle/epicmath/master/app/public/images/home-page/MathHomeImage.png -------------------------------------------------------------------------------- /app/bower_components/angular/angular.min.js.gzip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PyGoogle/epicmath/master/app/bower_components/angular/angular.min.js.gzip -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/dist/robots.txt: -------------------------------------------------------------------------------- 1 | # www.robotstxt.org/ 2 | 3 | # Allow crawling of all content 4 | User-agent: * 5 | Disallow: 6 | -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/src/robots.txt: -------------------------------------------------------------------------------- 1 | # www.robotstxt.org/ 2 | 3 | # Allow crawling of all content 4 | User-agent: * 5 | Disallow: 6 | -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/src/tile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PyGoogle/epicmath/master/app/bower_components/html5-boilerplate/src/tile.png -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/dist/tile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PyGoogle/epicmath/master/app/bower_components/html5-boilerplate/dist/tile.png -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PyGoogle/epicmath/master/app/bower_components/html5-boilerplate/src/favicon.ico -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/dist/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PyGoogle/epicmath/master/app/bower_components/html5-boilerplate/dist/favicon.ico -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/src/tile-wide.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PyGoogle/epicmath/master/app/bower_components/html5-boilerplate/src/tile-wide.png -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/dist/tile-wide.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PyGoogle/epicmath/master/app/bower_components/html5-boilerplate/dist/tile-wide.png -------------------------------------------------------------------------------- /app/public/images/home-page/the-scale-of-the-universe-2.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PyGoogle/epicmath/master/app/public/images/home-page/the-scale-of-the-universe-2.swf -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/dist/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PyGoogle/epicmath/master/app/bower_components/html5-boilerplate/dist/apple-touch-icon.png -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/src/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PyGoogle/epicmath/master/app/bower_components/html5-boilerplate/src/apple-touch-icon.png -------------------------------------------------------------------------------- /app/bower_components/angular/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular", 3 | "version": "1.4.7", 4 | "main": "./angular.js", 5 | "ignore": [], 6 | "dependencies": { 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/src/.gitignore: -------------------------------------------------------------------------------- 1 | # Include your project-specific ignores in this file 2 | # Read about how to use .gitignore: https://help.github.com/articles/ignoring-files 3 | -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/dist/.gitignore: -------------------------------------------------------------------------------- 1 | # Include your project-specific ignores in this file 2 | # Read about how to use .gitignore: https://help.github.com/articles/ignoring-files 3 | -------------------------------------------------------------------------------- /app/components/version/version.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | angular.module('myApp.version', [ 4 | 'myApp.version.interpolate-filter', 5 | 'myApp.version.version-directive' 6 | ]) 7 | 8 | .value('version', '0.1'); 9 | -------------------------------------------------------------------------------- /app/views/cmath/cmath.html: -------------------------------------------------------------------------------- 1 |

Home page views/cmath : cmath.html

2 | 3 | Algebra 4 |
5 | Complex Variables 6 |
7 | Back to Home -------------------------------------------------------------------------------- /app/bower_components/angular-loader/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-loader", 3 | "version": "1.4.7", 4 | "main": "./angular-loader.js", 5 | "ignore": [], 6 | "dependencies": { 7 | "angular": "1.4.7" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /app/bower_components/angular-mocks/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-mocks", 3 | "version": "1.4.7", 4 | "main": "./angular-mocks.js", 5 | "ignore": [], 6 | "dependencies": { 7 | "angular": "1.4.7" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /app/bower_components/angular-route/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-route", 3 | "version": "1.4.7", 4 | "main": "./angular-route.js", 5 | "ignore": [], 6 | "dependencies": { 7 | "angular": "1.4.7" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /app/components/version/version-directive.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | angular.module('myApp.version.version-directive', []) 4 | 5 | .directive('appVersion', ['version', function(version) { 6 | return function(scope, elm, attrs) { 7 | elm.text(version); 8 | }; 9 | }]); 10 | -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/src/.editorconfig: -------------------------------------------------------------------------------- 1 | # editorconfig.org 2 | 3 | root = true 4 | 5 | [*] 6 | charset = utf-8 7 | indent_size = 4 8 | indent_style = space 9 | insert_final_newline = true 10 | trim_trailing_whitespace = true 11 | 12 | [*.md] 13 | trim_trailing_whitespace = false 14 | -------------------------------------------------------------------------------- /app/components/version/interpolate-filter.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | angular.module('myApp.version.interpolate-filter', []) 4 | 5 | .filter('interpolate', ['version', function(version) { 6 | return function(text) { 7 | return String(text).replace(/\%VERSION\%/mg, version); 8 | }; 9 | }]); 10 | -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/dist/.editorconfig: -------------------------------------------------------------------------------- 1 | # editorconfig.org 2 | 3 | root = true 4 | 5 | [*] 6 | charset = utf-8 7 | indent_size = 4 8 | indent_style = space 9 | insert_final_newline = true 10 | trim_trailing_whitespace = true 11 | 12 | [*.md] 13 | trim_trailing_whitespace = false 14 | -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/src/humans.txt: -------------------------------------------------------------------------------- 1 | # humanstxt.org/ 2 | # The humans responsible & technology colophon 3 | 4 | # TEAM 5 | 6 | -- -- 7 | 8 | # THANKS 9 | 10 | 11 | 12 | # TECHNOLOGY COLOPHON 13 | 14 | CSS3, HTML5 15 | Apache Server Configs, jQuery, Modernizr, Normalize.css 16 | -------------------------------------------------------------------------------- /app/views/view1/view1.html: -------------------------------------------------------------------------------- 1 | 2 |

This is the partial for view 1.

3 | 4 | 5 | 6 |
7 |

Hello, {{name}}

8 |
9 |
    10 |
  • {{nm.name}}
  • 11 |
12 | 13 | -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/dist/humans.txt: -------------------------------------------------------------------------------- 1 | # humanstxt.org/ 2 | # The humans responsible & technology colophon 3 | 4 | # TEAM 5 | 6 | -- -- 7 | 8 | # THANKS 9 | 10 | 11 | 12 | # TECHNOLOGY COLOPHON 13 | 14 | CSS3, HTML5 15 | Apache Server Configs, jQuery, Modernizr, Normalize.css 16 | -------------------------------------------------------------------------------- /app/components/version/version_test.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | describe('myApp.version module', function() { 4 | beforeEach(module('myApp.version')); 5 | 6 | describe('version service', function() { 7 | it('should return current version', inject(function(version) { 8 | expect(version).toEqual('0.1'); 9 | })); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /app/views/view2/view2.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | angular.module('myApp.views.view2', ['ngRoute']) 4 | 5 | .config(['$routeProvider', function($routeProvider) { 6 | $routeProvider.when('/view2', { 7 | templateUrl: 'views/view2/view2.html', 8 | controller: 'View2Ctrl' 9 | }); 10 | }]) 11 | 12 | .controller('View2Ctrl', [function() { 13 | 14 | }]); -------------------------------------------------------------------------------- /app/views/view3/view3.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | angular.module('myApp.views.view3', ['ngRoute']) 4 | 5 | .config(['$routeProvider', function($routeProvider) { 6 | $routeProvider 7 | .when('/view3', { 8 | templateUrl: '/views/view3/view3.html', 9 | controller: 'View3Ctrl' 10 | }); 11 | }]) 12 | 13 | 14 | .controller('View3Ctrl', [function() { 15 | 16 | }]); -------------------------------------------------------------------------------- /app/views/about/about.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | angular.module('myApp.views.about', ['ngRoute']) 4 | 5 | .config(['$routeProvider', function($routeProvider) { 6 | $routeProvider 7 | .when('/about', { 8 | templateUrl: 'views/about/about.html', 9 | controller: 'AboutCtrl' 10 | }); 11 | }]) 12 | 13 | .controller('AboutCtrl', [ '$scope', function($scope) { 14 | 15 | }]); 16 | -------------------------------------------------------------------------------- /app/views/home/home.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | 4 | angular.module('myApp.views.home', ['ngRoute']) 5 | 6 | .config(['$routeProvider', function($routeProvider) { 7 | $routeProvider 8 | .when('/home', { 9 | templateUrl: 'views/home/home.html', 10 | controller: 'homeCtrl' 11 | }); 12 | }]) 13 | 14 | .controller('homeCtrl', [ '$scope', function($scope) { 15 | 16 | }]); 17 | -------------------------------------------------------------------------------- /app/views/home/home_test.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | describe('myApp.home module', function() { 4 | 5 | beforeEach(module('myApp.home')); 6 | 7 | describe('home controller', function(){ 8 | 9 | it('should ....', inject(function($controller) { 10 | //spec body 11 | var homeCtrl = $controller('HomeCtrl'); 12 | expect(homeCtrl).toBeDefined(); 13 | })); 14 | 15 | }); 16 | }); 17 | -------------------------------------------------------------------------------- /app/views/view1/view1_test.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | describe('myApp.view1 module', function() { 4 | 5 | beforeEach(module('myApp.view1')); 6 | 7 | describe('view1 controller', function(){ 8 | 9 | it('should ....', inject(function($controller) { 10 | //spec body 11 | var view1Ctrl = $controller('View1Ctrl'); 12 | expect(view1Ctrl).toBeDefined(); 13 | })); 14 | 15 | }); 16 | }); -------------------------------------------------------------------------------- /app/views/view2/view2_test.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | describe('myApp.view2 module', function() { 4 | 5 | beforeEach(module('myApp.view2')); 6 | 7 | describe('view2 controller', function(){ 8 | 9 | it('should ....', inject(function($controller) { 10 | //spec body 11 | var view2Ctrl = $controller('View2Ctrl'); 12 | expect(view2Ctrl).toBeDefined(); 13 | })); 14 | 15 | }); 16 | }); -------------------------------------------------------------------------------- /app/views/cmath/cmath.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var app = angular.module('myApp.views.cmath', ['ngRoute']); 4 | 5 | app.config(['$routeProvider', function($routeProvider) { 6 | $routeProvider 7 | .when('/cmath', { 8 | templateUrl: 'views/cmath/cmath.html', 9 | controller: 'cmathCtrl' 10 | .otherwise({redirectTo: '/home'}); 11 | }]); 12 | 13 | app.controller('cmathCtrl', [ '$scope', function($scope) { 14 | 15 | }]); 16 | 17 | -------------------------------------------------------------------------------- /bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-seed", 3 | "description": "A starter project for AngularJS", 4 | "version": "0.0.0", 5 | "homepage": "https://github.com/angular/angular-seed", 6 | "license": "MIT", 7 | "private": true, 8 | "dependencies": { 9 | "angular": "~1.4.0", 10 | "angular-route": "~1.4.0", 11 | "angular-loader": "~1.4.0", 12 | "angular-mocks": "~1.4.0", 13 | "html5-boilerplate": "~5.2.0" 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /app/views/cmath/algebra/algebra.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var app = angular.module('myApp.views.cmath.algebra', ['ngRoute']); 4 | 5 | /* 6 | app.config(['$routeProvider', function($routeProvider) { 7 | $routeProvider 8 | .when('/cmath/algebra', { 9 | templateUrl: 'views/cmath/algebra/algebra.html', 10 | controller: 'CMathAlgebraCtrl' 11 | }); 12 | }]); 13 | 14 | app.controller('CMathAlgebraCtrl', [ '$scope', function($scope) { 15 | 16 | }]); 17 | */ -------------------------------------------------------------------------------- /app/bower_components/angular/angular-csp.css: -------------------------------------------------------------------------------- 1 | /* Include this file in your html if you are using the CSP mode. */ 2 | 3 | @charset "UTF-8"; 4 | 5 | [ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], 6 | .ng-cloak, .x-ng-cloak, 7 | .ng-hide:not(.ng-hide-animate) { 8 | display: none !important; 9 | } 10 | 11 | ng\:form { 12 | display: block; 13 | } 14 | 15 | .ng-animate-shim { 16 | visibility:hidden; 17 | } 18 | 19 | .ng-anchor { 20 | position:absolute; 21 | } 22 | -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "html5-boilerplate", 3 | "homepage": "https://github.com/h5bp/html5-boilerplate", 4 | "version": "5.2.0", 5 | "_release": "5.2.0", 6 | "_resolution": { 7 | "type": "version", 8 | "tag": "5.2.0", 9 | "commit": "85d79ed6cc33eb7ba5e156085049758f07b47fd9" 10 | }, 11 | "_source": "git://github.com/h5bp/html5-boilerplate.git", 12 | "_target": "~5.2.0", 13 | "_originalSource": "html5-boilerplate" 14 | } -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/src/browserconfig.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/dist/browserconfig.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /app/public/css/app.css: -------------------------------------------------------------------------------- 1 | /* app css stylesheet */ 2 | 3 | .menu { 4 | list-style: none; 5 | border-bottom: 0.1em solid black; 6 | margin-bottom: 2em; 7 | padding: 0 0 0.5em; 8 | } 9 | 10 | .menu:before { 11 | content: "["; 12 | } 13 | 14 | .menu:after { 15 | content: "]"; 16 | } 17 | 18 | .menu > li { 19 | display: inline; 20 | } 21 | 22 | .menu > li:before { 23 | content: "|"; 24 | padding-right: 0.3em; 25 | } 26 | 27 | .menu > li:nth-child(1):before { 28 | content: ""; 29 | padding: 0; 30 | } 31 | -------------------------------------------------------------------------------- /app/bower_components/angular/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular", 3 | "version": "1.4.7", 4 | "main": "./angular.js", 5 | "ignore": [], 6 | "dependencies": {}, 7 | "homepage": "https://github.com/angular/bower-angular", 8 | "_release": "1.4.7", 9 | "_resolution": { 10 | "type": "version", 11 | "tag": "v1.4.7", 12 | "commit": "6bdc6b4855b416bf029105324080ca7d6aca0e9f" 13 | }, 14 | "_source": "git://github.com/angular/bower-angular.git", 15 | "_target": "~1.4.0", 16 | "_originalSource": "angular" 17 | } -------------------------------------------------------------------------------- /app/components/version/interpolate-filter_test.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | describe('myApp.version module', function() { 4 | beforeEach(module('myApp.version')); 5 | 6 | describe('interpolate filter', function() { 7 | beforeEach(module(function($provide) { 8 | $provide.value('version', 'TEST_VER'); 9 | })); 10 | 11 | it('should replace VERSION', inject(function(interpolateFilter) { 12 | expect(interpolateFilter('before %VERSION% after')).toEqual('before TEST_VER after'); 13 | })); 14 | }); 15 | }); 16 | -------------------------------------------------------------------------------- /app/views/sat/sat.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | angular.module('myApp.views.sat', ['ngRoute']) 4 | 5 | .config(['$routeProvider', function($routeProvider) { 6 | $routeProvider 7 | .when('/sat', { 8 | templateUrl: '/views/sat/sat.html', 9 | controller: 'SatCtrl' 10 | }); 11 | }]) 12 | 13 | 14 | .controller('SatCtrl', [ '$scope', function($scope) { 15 | $scope.name = ''; 16 | $scope.names = [{name:"Epic"}, {name:"Math"}]; 17 | $scope.addName = function() { 18 | $scope.names.push( {'name':$scope.name} ); 19 | $scope.name = ''; 20 | }; 21 | }]); 22 | -------------------------------------------------------------------------------- /app/views/view1/view1.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | angular.module('myApp.views.view1', ['ngRoute']) 4 | 5 | .config(['$routeProvider', function($routeProvider) { 6 | $routeProvider 7 | .when('/view1', { 8 | templateUrl: 'views/view1/view1.html', 9 | controller: 'View1Ctrl' 10 | }); 11 | }]) 12 | 13 | .controller('View1Ctrl', [ '$scope', function($scope) { 14 | $scope.name = ''; 15 | $scope.names = [{name:"Epic"}, {name:"Math"}]; 16 | $scope.addName = function() { 17 | $scope.names.push( {'name':$scope.name} ); 18 | $scope.name = ''; 19 | }; 20 | }]); 21 | -------------------------------------------------------------------------------- /app/bower_components/angular-mocks/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-mocks", 3 | "version": "1.4.7", 4 | "main": "./angular-mocks.js", 5 | "ignore": [], 6 | "dependencies": { 7 | "angular": "1.4.7" 8 | }, 9 | "homepage": "https://github.com/angular/bower-angular-mocks", 10 | "_release": "1.4.7", 11 | "_resolution": { 12 | "type": "version", 13 | "tag": "v1.4.7", 14 | "commit": "74c65a6a54f39516be40b0afdd99efb461595fd9" 15 | }, 16 | "_source": "git://github.com/angular/bower-angular-mocks.git", 17 | "_target": "~1.4.0", 18 | "_originalSource": "angular-mocks" 19 | } -------------------------------------------------------------------------------- /app/bower_components/angular-route/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-route", 3 | "version": "1.4.7", 4 | "main": "./angular-route.js", 5 | "ignore": [], 6 | "dependencies": { 7 | "angular": "1.4.7" 8 | }, 9 | "homepage": "https://github.com/angular/bower-angular-route", 10 | "_release": "1.4.7", 11 | "_resolution": { 12 | "type": "version", 13 | "tag": "v1.4.7", 14 | "commit": "f6f9c6760d15a993776afd5d2fafb456ee1e09d9" 15 | }, 16 | "_source": "git://github.com/angular/bower-angular-route.git", 17 | "_target": "~1.4.0", 18 | "_originalSource": "angular-route" 19 | } -------------------------------------------------------------------------------- /app/bower_components/angular-loader/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-loader", 3 | "version": "1.4.7", 4 | "main": "./angular-loader.js", 5 | "ignore": [], 6 | "dependencies": { 7 | "angular": "1.4.7" 8 | }, 9 | "homepage": "https://github.com/angular/bower-angular-loader", 10 | "_release": "1.4.7", 11 | "_resolution": { 12 | "type": "version", 13 | "tag": "v1.4.7", 14 | "commit": "323b4ce86c39926edb4efec5630c04677da20567" 15 | }, 16 | "_source": "git://github.com/angular/bower-angular-loader.git", 17 | "_target": "~1.4.0", 18 | "_originalSource": "angular-loader" 19 | } -------------------------------------------------------------------------------- /app/components/version/version-directive_test.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | describe('myApp.version module', function() { 4 | beforeEach(module('myApp.version')); 5 | 6 | describe('app-version directive', function() { 7 | it('should print current version', function() { 8 | module(function($provide) { 9 | $provide.value('version', 'TEST_VER'); 10 | }); 11 | inject(function($compile, $rootScope) { 12 | var element = $compile('')($rootScope); 13 | expect(element.text()).toEqual('TEST_VER'); 14 | }); 15 | }); 16 | }); 17 | }); 18 | -------------------------------------------------------------------------------- /app/views/sidestory/sidestory.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | angular.module('myApp.views.sidestory', ['ngRoute']) 4 | 5 | .config(['$routeProvider', function($routeProvider) { 6 | $routeProvider 7 | .when('/sidestory', { 8 | templateUrl: '/views/sidestory/sidestory.html', 9 | controller: 'SidestoryCtrl' 10 | }); 11 | }]) 12 | 13 | 14 | .controller('SidestoryCtrl', [ '$scope', function($scope) { 15 | $scope.name = ''; 16 | $scope.names = [{name:"Epic"}, {name:"Math"}]; 17 | $scope.addName = function() { 18 | $scope.names.push( {'name':$scope.name} ); 19 | $scope.name = ''; 20 | }; 21 | }]); 22 | -------------------------------------------------------------------------------- /app/views/not-taught/not-taught.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | angular.module('myApp.views.not-taught', ['ngRoute']) 4 | 5 | .config(['$routeProvider', function($routeProvider) { 6 | $routeProvider 7 | .when('/not-taught', { 8 | templateUrl: 'views/not-taught/not-taught.html', 9 | controller: 'Not-taughtCtrl' 10 | }); 11 | }]) 12 | 13 | 14 | .controller('Not-taughtCtrl', [ '$scope', function($scope) { 15 | $scope.name = ''; 16 | $scope.names = [{name:"Epic"}, {name:"Math"}]; 17 | $scope.addName = function() { 18 | $scope.names.push( {'name':$scope.name} ); 19 | $scope.name = ''; 20 | }; 21 | }]); 22 | -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/.editorconfig: -------------------------------------------------------------------------------- 1 | # For more information about the properties used in 2 | # this file, please see the EditorConfig documentation: 3 | # http://editorconfig.org/ 4 | 5 | root = true 6 | 7 | [*] 8 | charset = utf-8 9 | end_of_line = lf 10 | indent_size = 4 11 | indent_style = space 12 | insert_final_newline = true 13 | trim_trailing_whitespace = true 14 | 15 | [*.md] 16 | trim_trailing_whitespace = false 17 | 18 | [{.travis.yml,package.json}] 19 | # The indent size used in the `package.json` file cannot be changed 20 | # https://github.com/npm/npm/pull/3180#issuecomment-16336516 21 | indent_size = 2 22 | indent_style = space 23 | -------------------------------------------------------------------------------- /app/bower_components/angular/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular", 3 | "version": "1.4.7", 4 | "description": "HTML enhanced for web apps", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "https://github.com/angular/angular.js.git" 12 | }, 13 | "keywords": [ 14 | "angular", 15 | "framework", 16 | "browser", 17 | "client-side" 18 | ], 19 | "author": "Angular Core Team ", 20 | "license": "MIT", 21 | "bugs": { 22 | "url": "https://github.com/angular/angular.js/issues" 23 | }, 24 | "homepage": "http://angularjs.org" 25 | } 26 | -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/dist/crossdomain.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 15 | 16 | -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/src/crossdomain.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 15 | 16 | -------------------------------------------------------------------------------- /app/bower_components/angular-route/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-route", 3 | "version": "1.4.7", 4 | "description": "AngularJS router module", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "https://github.com/angular/angular.js.git" 12 | }, 13 | "keywords": [ 14 | "angular", 15 | "framework", 16 | "browser", 17 | "router", 18 | "client-side" 19 | ], 20 | "author": "Angular Core Team ", 21 | "license": "MIT", 22 | "bugs": { 23 | "url": "https://github.com/angular/angular.js/issues" 24 | }, 25 | "homepage": "http://angularjs.org" 26 | } 27 | -------------------------------------------------------------------------------- /app/bower_components/angular-mocks/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-mocks", 3 | "version": "1.4.7", 4 | "description": "AngularJS mocks for testing", 5 | "main": "angular-mocks.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "https://github.com/angular/angular.js.git" 12 | }, 13 | "keywords": [ 14 | "angular", 15 | "framework", 16 | "browser", 17 | "mocks", 18 | "testing", 19 | "client-side" 20 | ], 21 | "author": "Angular Core Team ", 22 | "license": "MIT", 23 | "bugs": { 24 | "url": "https://github.com/angular/angular.js/issues" 25 | }, 26 | "homepage": "http://angularjs.org" 27 | } 28 | -------------------------------------------------------------------------------- /app/bower_components/angular-loader/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-loader", 3 | "version": "1.4.7", 4 | "description": "AngularJS module for asynchronously loading modules", 5 | "main": "angular-loader.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "https://github.com/angular/angular.js.git" 12 | }, 13 | "keywords": [ 14 | "angular", 15 | "framework", 16 | "browser", 17 | "loader", 18 | "client-side" 19 | ], 20 | "author": "Angular Core Team ", 21 | "license": "MIT", 22 | "bugs": { 23 | "url": "https://github.com/angular/angular.js/issues" 24 | }, 25 | "homepage": "http://angularjs.org" 26 | } 27 | -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | 3 | // Enforcing options 4 | // http://www.jshint.com/docs/options/#enforcing-options 5 | 6 | "bitwise": true, 7 | "eqeqeq": true, 8 | "forin": true, 9 | "latedef": true, 10 | "noarg": true, 11 | "nonbsp": true, 12 | "nonew": true, 13 | "undef": true, 14 | "unused": true, 15 | 16 | // - - - - - - - - - - - - - - - - - - - - - - - - - - - 17 | 18 | // Relaxing options 19 | // http://www.jshint.com/docs/options/#relaxing-options 20 | 21 | "esnext": true, 22 | 23 | // - - - - - - - - - - - - - - - - - - - - - - - - - - - 24 | 25 | // Environments 26 | // http://www.jshint.com/docs/options/#environments 27 | 28 | "browser": true, 29 | "jquery": true, 30 | "node": true 31 | 32 | } 33 | -------------------------------------------------------------------------------- /karma.conf.js: -------------------------------------------------------------------------------- 1 | module.exports = function(config){ 2 | config.set({ 3 | 4 | basePath : './', 5 | 6 | files : [ 7 | 'app/bower_components/angular/angular.js', 8 | 'app/bower_components/angular-route/angular-route.js', 9 | 'app/bower_components/angular-mocks/angular-mocks.js', 10 | 'app/components/**/*.js', 11 | 'app/view*/**/*.js' 12 | ], 13 | 14 | autoWatch : true, 15 | 16 | frameworks: ['jasmine'], 17 | 18 | browsers : ['Chrome'], 19 | 20 | plugins : [ 21 | 'karma-chrome-launcher', 22 | 'karma-firefox-launcher', 23 | 'karma-jasmine', 24 | 'karma-junit-reporter' 25 | ], 26 | 27 | junitReporter : { 28 | outputFile: 'test_out/unit.xml', 29 | suite: 'unit' 30 | } 31 | 32 | }); 33 | }; 34 | -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/.gitattributes: -------------------------------------------------------------------------------- 1 | # Automatically normalize line endings for all text-based files 2 | # http://git-scm.com/docs/gitattributes#_end_of_line_conversion 3 | * text=auto 4 | 5 | # For the following file types, normalize line endings to LF on 6 | # checkin and prevent conversion to CRLF when they are checked out 7 | # (this is required in order to prevent newline related issues like, 8 | # for example, after the build script is run) 9 | .* text eol=lf 10 | *.css text eol=lf 11 | *.html text eol=lf 12 | *.js text eol=lf 13 | *.json text eol=lf 14 | *.md text eol=lf 15 | *.sh text eol=lf 16 | *.txt text eol=lf 17 | *.xml text eol=lf 18 | 19 | # Exclude the `.htaccess` file from GitHub's language statistics 20 | # https://github.com/github/linguist#using-gitattributes 21 | dist/.htaccess linguist-vendored 22 | -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/dist/js/plugins.js: -------------------------------------------------------------------------------- 1 | // Avoid `console` errors in browsers that lack a console. 2 | (function() { 3 | var method; 4 | var noop = function () {}; 5 | var methods = [ 6 | 'assert', 'clear', 'count', 'debug', 'dir', 'dirxml', 'error', 7 | 'exception', 'group', 'groupCollapsed', 'groupEnd', 'info', 'log', 8 | 'markTimeline', 'profile', 'profileEnd', 'table', 'time', 'timeEnd', 9 | 'timeline', 'timelineEnd', 'timeStamp', 'trace', 'warn' 10 | ]; 11 | var length = methods.length; 12 | var console = (window.console = window.console || {}); 13 | 14 | while (length--) { 15 | method = methods[length]; 16 | 17 | // Only stub undefined methods. 18 | if (!console[method]) { 19 | console[method] = noop; 20 | } 21 | } 22 | }()); 23 | 24 | // Place any jQuery/helper plugins in here. 25 | -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/src/js/plugins.js: -------------------------------------------------------------------------------- 1 | // Avoid `console` errors in browsers that lack a console. 2 | (function() { 3 | var method; 4 | var noop = function () {}; 5 | var methods = [ 6 | 'assert', 'clear', 'count', 'debug', 'dir', 'dirxml', 'error', 7 | 'exception', 'group', 'groupCollapsed', 'groupEnd', 'info', 'log', 8 | 'markTimeline', 'profile', 'profileEnd', 'table', 'time', 'timeEnd', 9 | 'timeline', 'timelineEnd', 'timeStamp', 'trace', 'warn' 10 | ]; 11 | var length = methods.length; 12 | var console = (window.console = window.console || {}); 13 | 14 | while (length--) { 15 | method = methods[length]; 16 | 17 | // Only stub undefined methods. 18 | if (!console[method]) { 19 | console[method] = noop; 20 | } 21 | } 22 | }()); 23 | 24 | // Place any jQuery/helper plugins in here. 25 | -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) HTML5 Boilerplate 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of 4 | this software and associated documentation files (the "Software"), to deal in 5 | the Software without restriction, including without limitation the rights to 6 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies 7 | of the Software, and to permit persons to whom the Software is furnished to do 8 | so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 19 | SOFTWARE. 20 | -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/dist/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) HTML5 Boilerplate 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of 4 | this software and associated documentation files (the "Software"), to deal in 5 | the Software without restriction, including without limitation the rights to 6 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies 7 | of the Software, and to permit persons to whom the Software is furnished to do 8 | so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 19 | SOFTWARE. 20 | -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/src/doc/TOC.md: -------------------------------------------------------------------------------- 1 | [HTML5 Boilerplate homepage](https://html5boilerplate.com) 2 | 3 | ## Getting started 4 | 5 | * [Usage](usage.md) — Overview of the project contents. 6 | * [FAQ](faq.md) — Frequently asked questions along with their answers. 7 | 8 | ## HTML5 Boilerplate core 9 | 10 | * [HTML](html.md) — Guide to the default HTML. 11 | * [CSS](css.md) — Guide to the default CSS. 12 | * [JavaScript](js.md) — Guide to the default JavaScript. 13 | * [Everything else](misc.md). 14 | 15 | ## Development 16 | 17 | * [Extending and customizing HTML5 Boilerplate](extend.md) — Going further 18 | with the boilerplate. 19 | 20 | ## Related projects 21 | 22 | The [H5BP organization](https://github.com/h5bp) maintains several projects 23 | that complement HTML5 Boilerplate, projects that can help you improve different 24 | aspects of your website/web app (e.g.: the performance, security, etc.). 25 | 26 | * [Server Configs](https://github.com/h5bp/server-configs) — Fast and 27 | smart configurations for web servers such as Apache and Nginx. 28 | * [Ant Build Script](https://github.com/h5bp/ant-build-script) — Apache 29 | Ant based build script. 30 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License 2 | 3 | Copyright (c) 2010-2014 Google, Inc. http://angularjs.org 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/dist/doc/TOC.md: -------------------------------------------------------------------------------- 1 | [HTML5 Boilerplate homepage](https://html5boilerplate.com) 2 | 3 | ## Getting started 4 | 5 | * [Usage](usage.md) — Overview of the project contents. 6 | * [FAQ](faq.md) — Frequently asked questions along with their answers. 7 | 8 | ## HTML5 Boilerplate core 9 | 10 | * [HTML](html.md) — Guide to the default HTML. 11 | * [CSS](css.md) — Guide to the default CSS. 12 | * [JavaScript](js.md) — Guide to the default JavaScript. 13 | * [Everything else](misc.md). 14 | 15 | ## Development 16 | 17 | * [Extending and customizing HTML5 Boilerplate](extend.md) — Going further 18 | with the boilerplate. 19 | 20 | ## Related projects 21 | 22 | The [H5BP organization](https://github.com/h5bp) maintains several projects 23 | that complement HTML5 Boilerplate, projects that can help you improve different 24 | aspects of your website/web app (e.g.: the performance, security, etc.). 25 | 26 | * [Server Configs](https://github.com/h5bp/server-configs) — Fast and 27 | smart configurations for web servers such as Apache and Nginx. 28 | * [Ant Build Script](https://github.com/h5bp/ant-build-script) — Apache 29 | Ant based build script. 30 | -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "devDependencies": { 3 | "apache-server-configs": "2.14.0", 4 | "archiver": "^0.14.3", 5 | "del": "^1.1.1", 6 | "glob": "^5.0.5", 7 | "gulp": "^3.8.11", 8 | "gulp-autoprefixer": "^2.1.0", 9 | "gulp-header": "^1.2.2", 10 | "gulp-jscs": "^1.5.1", 11 | "gulp-jshint": "^1.9.2", 12 | "gulp-load-plugins": "^0.10.0", 13 | "gulp-rename": "^1.2.0", 14 | "gulp-replace": "^0.5.3", 15 | "jquery": "1.11.3", 16 | "jshint-stylish": "^1.0.1", 17 | "mocha": "^2.2.4", 18 | "normalize.css": "3.0.3", 19 | "run-sequence": "^1.0.2" 20 | }, 21 | "engines": { 22 | "node": ">=0.10.0" 23 | }, 24 | "h5bp-configs": { 25 | "directories": { 26 | "archive": "archive", 27 | "dist": "dist", 28 | "src": "src", 29 | "test": "test" 30 | } 31 | }, 32 | "homepage": "https://html5boilerplate.com/", 33 | "license": { 34 | "type": "MIT", 35 | "url": "https://github.com/h5bp/html5-boilerplate/blob/master/LICENSE.txt" 36 | }, 37 | "name": "html5-boilerplate", 38 | "private": true, 39 | "scripts": { 40 | "build": "gulp build", 41 | "test": "gulp archive && mocha --reporter spec --timeout 5000" 42 | }, 43 | "version": "5.2.0" 44 | } 45 | -------------------------------------------------------------------------------- /app/app.js: -------------------------------------------------------------------------------- 1 | 2 | // With strict mode, we cannot use undeclared variables 3 | 'use strict'; 4 | 5 | // Declare app level module which depends on views, and components 6 | var app = angular.module('myApp', [ 7 | 'ngRoute', 8 | //'myApp.views.about', 9 | //'myApp.views.home', 10 | 'myApp.views.view1', 11 | 'myApp.views.view2', 12 | 'myApp.views.view3', 13 | 14 | 'myApp.views.not-taught', 15 | //'myApp.views.cmath', 16 | 'myApp.views.sidestory', 17 | 'myApp.views.sat', 18 | 'myApp.version' 19 | ]); 20 | app.config(['$routeProvider', function($routeProvider) { 21 | $routeProvider 22 | .when('/about', { 23 | templateUrl: 'views/about/about.html', 24 | controller: 'AboutCtrl' 25 | }) 26 | .when('/home', { 27 | templateUrl: 'views/home/home.html', 28 | controller: 'HomeCtrl' 29 | }) 30 | .when('/cmath', { 31 | templateUrl: 'views/cmath/cmath.html', 32 | controller: 'CMathCtrl' 33 | }) 34 | .when('/cmath/algebra', { 35 | templateUrl: 'views/cmath/algebra/algebra.html', 36 | controller: 'CMathCtrl' 37 | }) 38 | .when('/cmath/complex-variables', { 39 | templateUrl: 'views/cmath/complex-variables/complex-variables.html', 40 | controller: 'CMathCtrl' 41 | }) 42 | .otherwise({redirectTo: '/home'}); 43 | }]); -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/dist/doc/js.md: -------------------------------------------------------------------------------- 1 | [HTML5 Boilerplate homepage](https://html5boilerplate.com) | [Documentation 2 | table of contents](TOC.md) 3 | 4 | # The JavaScript 5 | 6 | Information about the default JavaScript included in the project. 7 | 8 | ## main.js 9 | 10 | This file can be used to contain or reference your site/app JavaScript code. 11 | For larger projects, you can make use of a JavaScript module loader, like 12 | [Require.js](http://requirejs.org/), to load any other scripts you need to 13 | run. 14 | 15 | ## plugins.js 16 | 17 | This file can be used to contain all your plugins, such as jQuery plugins and 18 | other 3rd party scripts. 19 | 20 | One approach is to put jQuery plugins inside of a `(function($){ ... 21 | })(jQuery);` closure to make sure they're in the jQuery namespace safety 22 | blanket. Read more about [jQuery plugin 23 | authoring](https://learn.jquery.com/plugins/#Getting_Started). 24 | 25 | By default the `plugins.js` file contains a small script to avoid `console` 26 | errors in browsers that lack a `console`. The script will make sure that, if 27 | a console method isn't available, that method will have the value of empty 28 | function, thus, preventing the browser from throwing an error. 29 | 30 | 31 | ## vendor 32 | 33 | This directory can be used to contain all 3rd party library code. 34 | 35 | Minified versions of the latest jQuery and Modernizr libraries are included by 36 | default. You may wish to create your own [custom Modernizr 37 | build](http://www.modernizr.com/download/). 38 | -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/src/doc/js.md: -------------------------------------------------------------------------------- 1 | [HTML5 Boilerplate homepage](https://html5boilerplate.com) | [Documentation 2 | table of contents](TOC.md) 3 | 4 | # The JavaScript 5 | 6 | Information about the default JavaScript included in the project. 7 | 8 | ## main.js 9 | 10 | This file can be used to contain or reference your site/app JavaScript code. 11 | For larger projects, you can make use of a JavaScript module loader, like 12 | [Require.js](http://requirejs.org/), to load any other scripts you need to 13 | run. 14 | 15 | ## plugins.js 16 | 17 | This file can be used to contain all your plugins, such as jQuery plugins and 18 | other 3rd party scripts. 19 | 20 | One approach is to put jQuery plugins inside of a `(function($){ ... 21 | })(jQuery);` closure to make sure they're in the jQuery namespace safety 22 | blanket. Read more about [jQuery plugin 23 | authoring](https://learn.jquery.com/plugins/#Getting_Started). 24 | 25 | By default the `plugins.js` file contains a small script to avoid `console` 26 | errors in browsers that lack a `console`. The script will make sure that, if 27 | a console method isn't available, that method will have the value of empty 28 | function, thus, preventing the browser from throwing an error. 29 | 30 | 31 | ## vendor 32 | 33 | This directory can be used to contain all 3rd party library code. 34 | 35 | Minified versions of the latest jQuery and Modernizr libraries are included by 36 | default. You may wish to create your own [custom Modernizr 37 | build](http://www.modernizr.com/download/). 38 | -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/dist/404.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Page Not Found 6 | 7 | 54 | 55 | 56 |

Page Not Found

57 |

Sorry, but the page you were trying to view does not exist.

58 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/src/404.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Page Not Found 6 | 7 | 54 | 55 | 56 |

Page Not Found

57 |

Sorry, but the page you were trying to view does not exist.

58 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-seed", 3 | "private": true, 4 | "version": "0.0.0", 5 | "description": "A starter project for AngularJS", 6 | "repository": "https://github.com/angular/angular-seed", 7 | "license": "MIT", 8 | "devDependencies": { 9 | "bower": "^1.3.1", 10 | "http-server": "^0.6.1", 11 | "jasmine-core": "^2.3.4", 12 | "karma": "~0.12", 13 | "karma-chrome-launcher": "^0.1.12", 14 | "karma-firefox-launcher": "^0.1.6", 15 | "karma-jasmine": "^0.3.5", 16 | "karma-junit-reporter": "^0.2.2", 17 | "protractor": "^2.1.0", 18 | "shelljs": "^0.2.6" 19 | }, 20 | "scripts": { 21 | "postinstall": "bower install", 22 | 23 | "prestart": "npm install", 24 | "start": "http-server -a localhost -p 8002 -c-1", 25 | 26 | "pretest": "npm install", 27 | "test": "karma start karma.conf.js", 28 | "test-single-run": "karma start karma.conf.js --single-run", 29 | 30 | "preupdate-webdriver": "npm install", 31 | "update-webdriver": "webdriver-manager update", 32 | 33 | "preprotractor": "npm run update-webdriver", 34 | "protractor": "protractor e2e-tests/protractor.conf.js", 35 | 36 | "update-index-async": "node -e \"require('shelljs/global'); sed('-i', /\\/\\/@@NG_LOADER_START@@[\\s\\S]*\\/\\/@@NG_LOADER_END@@/, '//@@NG_LOADER_START@@\\n' + sed(/sourceMappingURL=angular-loader.min.js.map/,'sourceMappingURL=bower_components/angular-loader/angular-loader.min.js.map','app/bower_components/angular-loader/angular-loader.min.js') + '\\n//@@NG_LOADER_END@@', 'app/index-async.html');\"" 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /app/bower_components/angular-loader/angular-loader.min.js: -------------------------------------------------------------------------------- 1 | /* 2 | AngularJS v1.4.7 3 | (c) 2010-2015 Google, Inc. http://angularjs.org 4 | License: MIT 5 | */ 6 | (function(){'use strict';function d(b){return function(){var a=arguments[0],e;e="["+(b?b+":":"")+a+"] http://errors.angularjs.org/1.4.7/"+(b?b+"/":"")+a;for(a=1;a 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 21 | 22 | 23 |

Hello world! This is HTML5 Boilerplate.

24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /app/views/home/home.html: -------------------------------------------------------------------------------- 1 |
2 | 3 | 4 |
5 |
6 | 7 |
8 | 9 |
10 |
11 |

Prelude

12 |

Math is everywhere.
13 | It is mostly about numbers: weight, size, money, etc.
14 | Let's think about the size (scale). The smallest scale for most of us is probably mm, and the largest scale in our daily life might be less than 100,000km.

15 |

16 | Actually, 17 | the smallest scale known to us is Planck length (lP) which is equal to 1.616199(97)x10−35 meters, and the biggest scale is observable universe which is 28.5 Gparsecs (93 billion light-years, 8.8×1026 metres or 5.5×1023 miles).

18 |

In our everyday life, there are quite a few intersting numbers such as Fibonacci and weird ones such as imaginary numbers.

19 | 20 |

This site will try to explain or describe mathematics the most easiest ways possible: pictures, drawings, videos, or simple formulas.

21 |
22 |
23 |
24 | 25 |
26 | 27 |

28 |

Click the picture to play.

29 | Magnifying the Universe by Number Sleuth. 30 |
31 |
32 |

Read more

33 |
34 | 35 |
36 | 37 | 38 |
39 | -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/src/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 21 | 22 | 23 |

Hello world! This is HTML5 Boilerplate.

24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /app/bower_components/angular/README.md: -------------------------------------------------------------------------------- 1 | # packaged angular 2 | 3 | This repo is for distribution on `npm` and `bower`. The source for this module is in the 4 | [main AngularJS repo](https://github.com/angular/angular.js). 5 | Please file issues and pull requests against that repo. 6 | 7 | ## Install 8 | 9 | You can install this package either with `npm` or with `bower`. 10 | 11 | ### npm 12 | 13 | ```shell 14 | npm install angular 15 | ``` 16 | 17 | Then add a ` 21 | ``` 22 | 23 | Or `require('angular')` from your code. 24 | 25 | ### bower 26 | 27 | ```shell 28 | bower install angular 29 | ``` 30 | 31 | Then add a ` 35 | ``` 36 | 37 | ## Documentation 38 | 39 | Documentation is available on the 40 | [AngularJS docs site](http://docs.angularjs.org/). 41 | 42 | ## License 43 | 44 | The MIT License 45 | 46 | Copyright (c) 2010-2015 Google, Inc. http://angularjs.org 47 | 48 | Permission is hereby granted, free of charge, to any person obtaining a copy 49 | of this software and associated documentation files (the "Software"), to deal 50 | in the Software without restriction, including without limitation the rights 51 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 52 | copies of the Software, and to permit persons to whom the Software is 53 | furnished to do so, subject to the following conditions: 54 | 55 | The above copyright notice and this permission notice shall be included in 56 | all copies or substantial portions of the Software. 57 | 58 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 59 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 60 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 61 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 62 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 63 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 64 | THE SOFTWARE. 65 | -------------------------------------------------------------------------------- /app/bower_components/angular-mocks/README.md: -------------------------------------------------------------------------------- 1 | # packaged angular-mocks 2 | 3 | This repo is for distribution on `npm` and `bower`. The source for this module is in the 4 | [main AngularJS repo](https://github.com/angular/angular.js/tree/master/src/ngMock). 5 | Please file issues and pull requests against that repo. 6 | 7 | ## Install 8 | 9 | You can install this package either with `npm` or with `bower`. 10 | 11 | ### npm 12 | 13 | ```shell 14 | npm install angular-mocks 15 | ``` 16 | 17 | You can `require` ngMock modules: 18 | 19 | ```js 20 | var angular = require('angular'); 21 | angular.module('myMod', [ 22 | require('angular-animate'), 23 | require('angular-mocks/ngMock') 24 | require('angular-mocks/ngAnimateMock') 25 | ]); 26 | ``` 27 | 28 | ### bower 29 | 30 | ```shell 31 | bower install angular-mocks 32 | ``` 33 | 34 | The mocks are then available at `bower_components/angular-mocks/angular-mocks.js`. 35 | 36 | ## Documentation 37 | 38 | Documentation is available on the 39 | [AngularJS docs site](https://docs.angularjs.org/guide/unit-testing). 40 | 41 | ## License 42 | 43 | The MIT License 44 | 45 | Copyright (c) 2010-2015 Google, Inc. http://angularjs.org 46 | 47 | Permission is hereby granted, free of charge, to any person obtaining a copy 48 | of this software and associated documentation files (the "Software"), to deal 49 | in the Software without restriction, including without limitation the rights 50 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 51 | copies of the Software, and to permit persons to whom the Software is 52 | furnished to do so, subject to the following conditions: 53 | 54 | The above copyright notice and this permission notice shall be included in 55 | all copies or substantial portions of the Software. 56 | 57 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 58 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 59 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 60 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 61 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 62 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 63 | THE SOFTWARE. 64 | -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/.jscsrc: -------------------------------------------------------------------------------- 1 | { 2 | "disallowEmptyBlocks": true, 3 | "disallowKeywords": [ 4 | "with" 5 | ], 6 | "disallowMixedSpacesAndTabs": true, 7 | "disallowMultipleLineStrings": true, 8 | "disallowMultipleVarDecl": true, 9 | "disallowSpaceAfterPrefixUnaryOperators": [ 10 | "!", 11 | "+", 12 | "++", 13 | "-", 14 | "--", 15 | "~" 16 | ], 17 | "disallowSpaceBeforeBinaryOperators": [ 18 | "," 19 | ], 20 | "disallowSpaceBeforePostfixUnaryOperators": true, 21 | "disallowSpacesInNamedFunctionExpression": { 22 | "beforeOpeningRoundBrace": true 23 | }, 24 | "disallowSpacesInsideArrayBrackets": true, 25 | "disallowSpacesInsideParentheses": true, 26 | "disallowTrailingComma": true, 27 | "disallowTrailingWhitespace": true, 28 | "requireCamelCaseOrUpperCaseIdentifiers": true, 29 | "requireCapitalizedConstructors": true, 30 | "requireCommaBeforeLineBreak": true, 31 | "requireCurlyBraces": true, 32 | "requireDotNotation": true, 33 | "requireLineFeedAtFileEnd": true, 34 | "requireParenthesesAroundIIFE": true, 35 | "requireSpaceAfterBinaryOperators": true, 36 | "requireSpaceAfterKeywords": [ 37 | "catch", 38 | "do", 39 | "else", 40 | "for", 41 | "if", 42 | "return", 43 | "switch", 44 | "try", 45 | "while" 46 | ], 47 | "requireSpaceAfterLineComment": true, 48 | "requireSpaceBeforeBinaryOperators": true, 49 | "requireSpaceBeforeBlockStatements": true, 50 | "requireSpacesInAnonymousFunctionExpression": { 51 | "beforeOpeningCurlyBrace": true 52 | }, 53 | "requireSpacesInConditionalExpression": true, 54 | "requireSpacesInFunctionDeclaration": { 55 | "beforeOpeningCurlyBrace": true 56 | }, 57 | "requireSpacesInFunctionExpression": { 58 | "beforeOpeningCurlyBrace": true 59 | }, 60 | "requireSpacesInNamedFunctionExpression": { 61 | "beforeOpeningCurlyBrace": true 62 | }, 63 | "requireSpacesInsideObjectBrackets": "allButNested", 64 | "validateIndentation": 4, 65 | "validateLineBreaks": "LF", 66 | "validateParameterSeparator": ", ", 67 | "validateQuoteMarks": "'" 68 | } 69 | -------------------------------------------------------------------------------- /app/bower_components/angular-route/README.md: -------------------------------------------------------------------------------- 1 | # packaged angular-route 2 | 3 | This repo is for distribution on `npm` and `bower`. The source for this module is in the 4 | [main AngularJS repo](https://github.com/angular/angular.js/tree/master/src/ngRoute). 5 | Please file issues and pull requests against that repo. 6 | 7 | ## Install 8 | 9 | You can install this package either with `npm` or with `bower`. 10 | 11 | ### npm 12 | 13 | ```shell 14 | npm install angular-route 15 | ``` 16 | 17 | Then add `ngRoute` as a dependency for your app: 18 | 19 | ```javascript 20 | angular.module('myApp', [require('angular-route')]); 21 | ``` 22 | 23 | ### bower 24 | 25 | ```shell 26 | bower install angular-route 27 | ``` 28 | 29 | Add a ` 33 | ``` 34 | 35 | Then add `ngRoute` as a dependency for your app: 36 | 37 | ```javascript 38 | angular.module('myApp', ['ngRoute']); 39 | ``` 40 | 41 | ## Documentation 42 | 43 | Documentation is available on the 44 | [AngularJS docs site](http://docs.angularjs.org/api/ngRoute). 45 | 46 | ## License 47 | 48 | The MIT License 49 | 50 | Copyright (c) 2010-2015 Google, Inc. http://angularjs.org 51 | 52 | Permission is hereby granted, free of charge, to any person obtaining a copy 53 | of this software and associated documentation files (the "Software"), to deal 54 | in the Software without restriction, including without limitation the rights 55 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 56 | copies of the Software, and to permit persons to whom the Software is 57 | furnished to do so, subject to the following conditions: 58 | 59 | The above copyright notice and this permission notice shall be included in 60 | all copies or substantial portions of the Software. 61 | 62 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 63 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 64 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 65 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 66 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 67 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 68 | THE SOFTWARE. 69 | -------------------------------------------------------------------------------- /app/bower_components/angular-loader/README.md: -------------------------------------------------------------------------------- 1 | # packaged angular-loader 2 | 3 | This repo is for distribution on `npm` and `bower`. The source for this module is in the 4 | [main AngularJS repo](https://github.com/angular/angular.js/blob/master/src/loader.js). 5 | Please file issues and pull requests against that repo. 6 | 7 | ## Install 8 | 9 | You can install this package either with `npm` or with `bower`. 10 | 11 | ### npm 12 | 13 | ```shell 14 | npm install angular-loader 15 | ``` 16 | 17 | Add a ` 21 | ``` 22 | 23 | Note that this package is not in CommonJS format, so doing `require('angular-loader')` will 24 | return `undefined`. 25 | 26 | ### bower 27 | 28 | ```shell 29 | bower install angular-loader 30 | ``` 31 | 32 | Add a ` 36 | ``` 37 | 38 | ## Documentation 39 | 40 | Documentation is available on the 41 | [AngularJS docs site](http://docs.angularjs.org/guide/bootstrap). 42 | 43 | ## License 44 | 45 | The MIT License 46 | 47 | Copyright (c) 2010-2015 Google, Inc. http://angularjs.org 48 | 49 | Permission is hereby granted, free of charge, to any person obtaining a copy 50 | of this software and associated documentation files (the "Software"), to deal 51 | in the Software without restriction, including without limitation the rights 52 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 53 | copies of the Software, and to permit persons to whom the Software is 54 | furnished to do so, subject to the following conditions: 55 | 56 | The above copyright notice and this permission notice shall be included in 57 | all copies or substantial portions of the Software. 58 | 59 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 60 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 61 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 62 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 63 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 64 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 65 | THE SOFTWARE. 66 | -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/test/file_content.js: -------------------------------------------------------------------------------- 1 | /* jshint mocha: true */ 2 | 3 | var assert = require('assert'); 4 | var fs = require('fs'); 5 | var path = require('path'); 6 | 7 | var pkg = require('./../package.json'); 8 | var dirs = pkg['h5bp-configs'].directories; 9 | 10 | // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 11 | 12 | function checkString(file, string, done) { 13 | 14 | var character = ''; 15 | var matchFound = false; 16 | var matchedPositions = 0; 17 | var readStream = fs.createReadStream(file, { 'encoding': 'utf8' }); 18 | 19 | readStream.on('close', done); 20 | readStream.on('error', done); 21 | readStream.on('readable', function () { 22 | 23 | // Read file until the string is found 24 | // or the whole file has been read 25 | while (matchFound !== true && 26 | (character = readStream.read(1)) !== null) { 27 | 28 | if (character === string.charAt(matchedPositions)) { 29 | matchedPositions += 1; 30 | } else { 31 | matchedPositions = 0; 32 | } 33 | 34 | if (matchedPositions === string.length) { 35 | matchFound = true; 36 | } 37 | 38 | } 39 | 40 | assert.equal(true, matchFound); 41 | this.close(); 42 | 43 | }); 44 | 45 | } 46 | 47 | // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 48 | 49 | function runTests() { 50 | 51 | var dir = dirs.dist; 52 | 53 | describe('Test if the files from the "' + dir + '" directory have the expected content', function () { 54 | 55 | it('".htaccess" should have the "ErrorDocument..." line uncommented', function (done) { 56 | var string = '\n\nErrorDocument 404 /404.html\n\n'; 57 | checkString(path.resolve(dir, '.htaccess'), string, done); 58 | }); 59 | 60 | it('"index.html" should contain the correct jQuery version in the CDN URL', function (done) { 61 | var string = 'ajax.googleapis.com/ajax/libs/jquery/' + pkg.devDependencies.jquery + '/jquery.min.js'; 62 | checkString(path.resolve(dir, 'index.html'), string, done); 63 | }); 64 | 65 | it('"index.html" should contain the correct jQuery version in the local URL', function (done) { 66 | var string = 'js/vendor/jquery-' + pkg.devDependencies.jquery + '.min.js'; 67 | checkString(path.resolve(dir, 'index.html'), string, done); 68 | }); 69 | 70 | it('"main.css" should contain a custom banner', function (done) { 71 | var string = '/*! HTML5 Boilerplate v' + pkg.version + 72 | ' | ' + pkg.license.type + ' License' + 73 | ' | ' + pkg.homepage + ' */\n\n/*\n'; 74 | checkString(path.resolve(dir, 'css/main.css'), string, done); 75 | }); 76 | 77 | }); 78 | 79 | } 80 | 81 | runTests(); 82 | -------------------------------------------------------------------------------- /app/index-async.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | 44 | My AngularJS App 45 | 46 | 47 | 48 | 52 | 53 |
54 | 55 |
Angular seed app: v
56 | 57 | 58 | 59 | -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/.travis.yml: -------------------------------------------------------------------------------- 1 | # For more information about the configurations used 2 | # in this file, please see the Travis CI documentation: 3 | # http://docs.travis-ci.com 4 | 5 | after_success: 6 | 7 | # Temporary workaround for: 8 | # https://github.com/travis-ci/travis-ci/issues/929 9 | 10 | - python travis_after_all.py 11 | - export $(cat .to_export_back) &> /dev/null 12 | - | 13 | 14 | # If all the tests pass in all the runtimes, make Travis 15 | # automatically download and execute the following script 16 | 17 | if [ "$BUILD_LEADER" == "YES" ]; then 18 | if [ "$BUILD_AGGREGATE_STATUS" == "others_succeeded" ]; then \ 19 | 20 | # Clean up helper files 21 | rm -rf travis_after_all.py .to_export_back && \ 22 | 23 | # The `commit_build_changes.sh` script will run the build, 24 | # and if that generates changes, it will commit them to the 25 | # `master` branch: 26 | # 27 | # * ensuring that the content from the `dist/` directory 28 | # is always in sync with the rest of the content 29 | # 30 | # * removing the need to execute the build step locally 31 | # everytime a change is made (especially in the case 32 | # of trivial changes such as typos) 33 | # 34 | # Note: The `commit_build_changes.sh` script will only run 35 | # if the commit was made to the `master` branch. 36 | 37 | curl -sSL "https://raw.githubusercontent.com/h5bp-bot/scripts/0.6.1/commit_build_changes.sh" | 38 | bash -s -- --branch "master" \ 39 | --commands "npm install && npm run build" \ 40 | --commit-message "Update content from the \`dist\` directory [skip ci]"; 41 | 42 | fi 43 | fi 44 | 45 | env: 46 | global: 47 | 48 | # The `secure` key contains three encrypted environment variables 49 | # (GH_TOKEN, GH_USER_EMAIL and GH_USER_NAME), the values of which 50 | # are used by the scripts that are automatically executed by Travis. 51 | # 52 | # Note: The `secure` key will only work for this repository, so if 53 | # you create your own fork, you will need to generate your own key: 54 | # 55 | # travis encrypt -r "/" \ 56 | # GH_TOKEN="" \ 57 | # GH_USER_EMAIL="" \ 58 | # GH_USER_NAME="" 59 | # 60 | # To learn more about how to generate the: 61 | # 62 | # * `secure` key, see: 63 | # http://docs.travis-ci.com/user/encryption-keys/ 64 | # 65 | # * GitHub access token, see: 66 | # https://help.github.com/articles/creating-an-access-token-for-command-line-use/ 67 | 68 | - secure: "OQnRHkXKdvSujTPm0DSXJFrso0zKltkso0e8zF/2GLI7ouv60ELHhYCrWFuoeefSJFbiPeH/9GXnTAv7y+gC08Ba/DSlXGaHl4db5xU/7AazzQR4YaTks6z0CfvlftdlimGOY27tuDU8hMfqHJKybJGcEvFKCVJms/7udYYh+CA=" 69 | 70 | git: 71 | depth: 10 72 | 73 | language: node_js 74 | 75 | node_js: 76 | - "iojs" 77 | - "0.12" 78 | 79 | script: 80 | - curl -sSLo travis_after_all.py https://raw.github.com/dmakhno/travis_after_all/master/travis_after_all.py 81 | 82 | sudo: false 83 | -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/src/doc/faq.md: -------------------------------------------------------------------------------- 1 | [HTML5 Boilerplate homepage](https://html5boilerplate.com) | [Documentation 2 | table of contents](TOC.md) 3 | 4 | # Frequently asked questions 5 | 6 | * [Why don't you automatically load the latest version of jQuery from the Google 7 | CDN?](#why-dont-you-automatically-load-the-latest-version-of-jquery-from-the-google-cdn) 8 | * [Why is the Google Analytics code at the bottom? Google recommends it be 9 | placed in the ``.](#why-is-the-google-analytics-code-at-the-bottom-google-recommends-it-be-placed-in-the-head) 10 | * [How can I integrate Bootstrap with HTML5 11 | Boilerplate?](#how-can-i-integrate-bootstrap-with-html5-boilerplate) 12 | * [Do I need to upgrade my site each time a new version of HTML5 Boilerplate is 13 | released?](#do-i-need-to-upgrade-my-site-each-time-a-new-version-of-html5-boilerplate-is-released) 14 | * [Where can I get help with support 15 | questions?](#where-can-i-get-help-with-support-questions) 16 | 17 | -- 18 | 19 | ### Why don't you automatically load the latest version of jQuery from the Google CDN? 20 | 21 | The [file](https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js) to which 22 | the Google [CDN](https://en.wikipedia.org/wiki/Content_delivery_network) points 23 | to is [no longer updated and will stay locked at version `1.11.1` in order to 24 | prevent inadvertent web 25 | breakage](http://blog.jquery.com/2014/07/03/dont-use-jquery-latest-js/). 26 | 27 | In general, version updating should be an intentional decision! You shouldn't 28 | include a URL that will always point to the latest version, as that version: 29 | 30 | * may not be compatible with the existing plugins/code on the site 31 | * will have a very short cache time compare to the specific version, 32 | which means that users won't get the benefits of long-term caching 33 | 34 | ### Why is the Google Analytics code at the bottom? Google recommends it be placed in the ``. 35 | 36 | The main advantage of placing it in the `` is that you will track the 37 | user's `pageview` even if they leave the page before it has been fully loaded. 38 | However, having the code at the bottom of the page [helps improve 39 | performance](https://stevesouders.com/efws/inline-scripts-bottom.php). 40 | 41 | 42 | ### How can I integrate [Bootstrap](http://getbootstrap.com/) with HTML5 Boilerplate? 43 | 44 | One simple way is to use [Initializr](http://www.initializr.com/) and create a 45 | custom build that includes both HTML5 Boilerplate and 46 | [Bootstrap](http://getbootstrap.com/). 47 | 48 | Read more about how [HTML5 Boilerplate and Bootstrap complement each 49 | other](https://www.quora.com/Is-Bootstrap-a-complement-or-an-alternative-to-HTML5-Boilerplate-or-viceversa/answer/Nicolas-Gallagher). 50 | 51 | 52 | ### Do I need to upgrade my site each time a new version of HTML5 Boilerplate is released? 53 | 54 | No, same as you don't normally replace the foundation of a house once it 55 | was built. However, there is nothing stopping you from trying to work in the 56 | latest changes, but you'll have to assess the costs/benefits of doing so. 57 | 58 | 59 | ### Where can I get help with support questions? 60 | 61 | Please ask for help on 62 | [StackOverflow](https://stackoverflow.com/questions/tagged/html5boilerplate). 63 | -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/dist/doc/faq.md: -------------------------------------------------------------------------------- 1 | [HTML5 Boilerplate homepage](https://html5boilerplate.com) | [Documentation 2 | table of contents](TOC.md) 3 | 4 | # Frequently asked questions 5 | 6 | * [Why don't you automatically load the latest version of jQuery from the Google 7 | CDN?](#why-dont-you-automatically-load-the-latest-version-of-jquery-from-the-google-cdn) 8 | * [Why is the Google Analytics code at the bottom? Google recommends it be 9 | placed in the ``.](#why-is-the-google-analytics-code-at-the-bottom-google-recommends-it-be-placed-in-the-head) 10 | * [How can I integrate Bootstrap with HTML5 11 | Boilerplate?](#how-can-i-integrate-bootstrap-with-html5-boilerplate) 12 | * [Do I need to upgrade my site each time a new version of HTML5 Boilerplate is 13 | released?](#do-i-need-to-upgrade-my-site-each-time-a-new-version-of-html5-boilerplate-is-released) 14 | * [Where can I get help with support 15 | questions?](#where-can-i-get-help-with-support-questions) 16 | 17 | -- 18 | 19 | ### Why don't you automatically load the latest version of jQuery from the Google CDN? 20 | 21 | The [file](https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js) to which 22 | the Google [CDN](https://en.wikipedia.org/wiki/Content_delivery_network) points 23 | to is [no longer updated and will stay locked at version `1.11.1` in order to 24 | prevent inadvertent web 25 | breakage](http://blog.jquery.com/2014/07/03/dont-use-jquery-latest-js/). 26 | 27 | In general, version updating should be an intentional decision! You shouldn't 28 | include a URL that will always point to the latest version, as that version: 29 | 30 | * may not be compatible with the existing plugins/code on the site 31 | * will have a very short cache time compare to the specific version, 32 | which means that users won't get the benefits of long-term caching 33 | 34 | ### Why is the Google Analytics code at the bottom? Google recommends it be placed in the ``. 35 | 36 | The main advantage of placing it in the `` is that you will track the 37 | user's `pageview` even if they leave the page before it has been fully loaded. 38 | However, having the code at the bottom of the page [helps improve 39 | performance](https://stevesouders.com/efws/inline-scripts-bottom.php). 40 | 41 | 42 | ### How can I integrate [Bootstrap](http://getbootstrap.com/) with HTML5 Boilerplate? 43 | 44 | One simple way is to use [Initializr](http://www.initializr.com/) and create a 45 | custom build that includes both HTML5 Boilerplate and 46 | [Bootstrap](http://getbootstrap.com/). 47 | 48 | Read more about how [HTML5 Boilerplate and Bootstrap complement each 49 | other](https://www.quora.com/Is-Bootstrap-a-complement-or-an-alternative-to-HTML5-Boilerplate-or-viceversa/answer/Nicolas-Gallagher). 50 | 51 | 52 | ### Do I need to upgrade my site each time a new version of HTML5 Boilerplate is released? 53 | 54 | No, same as you don't normally replace the foundation of a house once it 55 | was built. However, there is nothing stopping you from trying to work in the 56 | latest changes, but you'll have to assess the costs/benefits of doing so. 57 | 58 | 59 | ### Where can I get help with support questions? 60 | 61 | Please ask for help on 62 | [StackOverflow](https://stackoverflow.com/questions/tagged/html5boilerplate). 63 | -------------------------------------------------------------------------------- /app/bower_components/angular-loader/angular-loader.min.js.map: -------------------------------------------------------------------------------- 1 | { 2 | "version":3, 3 | "file":"angular-loader.min.js", 4 | "lineCount":9, 5 | "mappings":"A;;;;;aAMC,SAAQ,EAAG,CAiCZA,QAAAA,EAAAA,CAAAA,CAAAA,CAAAA,CAAAA,MAAAA,SAAAA,EAAAA,CAAAA,IAAAA,EAAAA,SAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,EAAAA,CAAAA,GAAAA,EAAAA,CAAAA,CAAAA,CAAAA,CAAAA,GAAAA,CAAAA,EAAAA,EAAAA,CAAAA,CAAAA,sCAAAA,EAAAA,CAAAA,CAAAA,CAAAA,CAAAA,GAAAA,CAAAA,EAAAA,EAAAA,CAAAA,KAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,SAAAA,OAAAA,CAAAA,CAAAA,EAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,EAAAA,CAAAA,EAAAA,CAAAA,CAAAA,GAAAA,CAAAA,GAAAA,EAAAA,GAAAA,EAAAA,CAAAA,CAAAA,CAAAA,EAAAA,GAAAA,KAAAA,EAAAA,kBAAAA,CAAAA,CAAAA,EAAAA,CAAAA,SAAAA,CAAAA,CAAAA,CAAAA,EAAAA,CAAAA,UAAAA,EAAAA,MAAAA,EAAAA,CAAAA,CAAAA,SAAAA,EAAAA,QAAAA,CAAAA,aAAAA,CAAAA,EAAAA,CAAAA,CAAAA,WAAAA,EAAAA,MAAAA,EAAAA,CAAAA,WAAAA,CAAAA,QAAAA,EAAAA,MAAAA,EAAAA,CAAAA,IAAAA,UAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,EAAAA,EAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,MAAAA,MAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CA2CAC,SAA0B,CAACC,CAAD,CAAS,CAKjCC,QAASA,EAAM,CAACC,CAAD,CAAMC,CAAN,CAAYC,CAAZ,CAAqB,CAClC,MAAOF,EAAA,CAAIC,CAAJ,CAAP,GAAqBD,CAAA,CAAIC,CAAJ,CAArB,CAAiCC,CAAA,EAAjC,CADkC,CAHpC,IAAIC,EAAkBP,CAAA,CAAO,WAAP,CAAtB,CACIQ,EAAWR,CAAA,CAAO,IAAP,CAMXS;CAAAA,CAAUN,CAAA,CAAOD,CAAP,CAAe,SAAf,CAA0BQ,MAA1B,CAGdD,EAAAE,SAAA,CAAmBF,CAAAE,SAAnB,EAAuCX,CAEvC,OAAOG,EAAA,CAAOM,CAAP,CAAgB,QAAhB,CAA0B,QAAQ,EAAG,CAE1C,IAAIG,EAAU,EAqDd,OAAOC,SAAe,CAACR,CAAD,CAAOS,CAAP,CAAiBC,CAAjB,CAA2B,CAE7C,GAAa,gBAAb,GAKsBV,CALtB,CACE,KAAMG,EAAA,CAAS,SAAT,CAIoBQ,QAJpB,CAAN,CAKAF,CAAJ,EAAgBF,CAAAK,eAAA,CAAuBZ,CAAvB,CAAhB,GACEO,CAAA,CAAQP,CAAR,CADF,CACkB,IADlB,CAGA,OAAOF,EAAA,CAAOS,CAAP,CAAgBP,CAAhB,CAAsB,QAAQ,EAAG,CA0OtCa,QAASA,EAAW,CAACC,CAAD,CAAWC,CAAX,CAAmBC,CAAnB,CAAiCC,CAAjC,CAAwC,CACrDA,CAAL,GAAYA,CAAZ,CAAoBC,CAApB,CACA,OAAO,SAAQ,EAAG,CAChBD,CAAA,CAAMD,CAAN,EAAsB,MAAtB,CAAA,CAA8B,CAACF,CAAD,CAAWC,CAAX,CAAmBI,SAAnB,CAA9B,CACA,OAAOC,EAFS,CAFwC,CAa5DC,QAASA,EAA2B,CAACP,CAAD,CAAWC,CAAX,CAAmB,CACrD,MAAO,SAAQ,CAACO,CAAD,CAAaC,CAAb,CAA8B,CACvCA,CAAJ,EApZ4C,UAoZ5C,GApZ2B,MAoZOA,EAAlC,GAAoDA,CAAAC,aAApD,CAAmFxB,CAAnF,CACAkB,EAAAO,KAAA,CAAiB,CAACX,CAAD,CAAWC,CAAX,CAAmBI,SAAnB,CAAjB,CACA,OAAOC,EAHoC,CADQ,CAtPvD,GAAKX,CAAAA,CAAL,CACE,KAAMP,EAAA,CAAgB,OAAhB,CAEiDF,CAFjD,CAAN,CAMF,IAAIkB,EAAc,EAAlB,CAGIQ,EAAe,EAHnB,CAMIC,EAAY,EANhB,CAQIC,EAASf,CAAA,CAAY,WAAZ,CAAyB,QAAzB,CAAmC,MAAnC;AAA2Ca,CAA3C,CARb,CAWIN,EAAiB,CAEnBS,aAAcX,CAFK,CAGnBY,cAAeJ,CAHI,CAInBK,WAAYJ,CAJO,CAenBlB,SAAUA,CAfS,CAyBnBT,KAAMA,CAzBa,CAsCnBc,SAAUO,CAAA,CAA4B,UAA5B,CAAwC,UAAxC,CAtCS,CAiDnBpB,QAASoB,CAAA,CAA4B,UAA5B,CAAwC,SAAxC,CAjDU,CA4DnBW,QAASX,CAAA,CAA4B,UAA5B,CAAwC,SAAxC,CA5DU,CAuEnBY,MAAOpB,CAAA,CAAY,UAAZ,CAAwB,OAAxB,CAvEY,CAmFnBqB,SAAUrB,CAAA,CAAY,UAAZ,CAAwB,UAAxB,CAAoC,SAApC,CAnFS,CA+FnBsB,UAAWd,CAAA,CAA4B,UAA5B,CAAwC,WAAxC,CA/FQ,CAiInBe,UAAWf,CAAA,CAA4B,kBAA5B,CAAgD,UAAhD,CAjIQ,CAmJnBgB,OAAQhB,CAAA,CAA4B,iBAA5B,CAA+C,UAA/C,CAnJW,CA+JnBiB,WAAYjB,CAAA,CAA4B,qBAA5B,CAAmD,UAAnD,CA/JO,CA4KnBkB,UAAWlB,CAAA,CAA4B,kBAA5B,CAAgD,WAAhD,CA5KQ,CAyLnBO,OAAQA,CAzLW,CAqMnBY,IAAKA,QAAQ,CAACC,CAAD,CAAQ,CACnBd,CAAAF,KAAA,CAAegB,CAAf,CACA,OAAO,KAFY,CArMF,CA2MjB/B,EAAJ,EACEkB,CAAA,CAAOlB,CAAP,CAGF;MAAOU,EAlO+B,CAAjC,CAXwC,CAvDP,CAArC,CAd0B,CAAnCxB,CAoVA,CAAkBC,MAAlB,CAhaY,CAAX,CAAD,CAiaGA,MAjaH;", 6 | "sources":["angular-loader.js"], 7 | "names":["minErr","setupModuleLoader","window","ensure","obj","name","factory","$injectorMinErr","ngMinErr","angular","Object","$$minErr","modules","module","requires","configFn","context","hasOwnProperty","invokeLater","provider","method","insertMethod","queue","invokeQueue","arguments","moduleInstance","invokeLaterAndSetModuleName","recipeName","factoryFunction","$$moduleName","push","configBlocks","runBlocks","config","_invokeQueue","_configBlocks","_runBlocks","service","value","constant","decorator","animation","filter","controller","directive","run","block"] 8 | } 9 | -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/README.md: -------------------------------------------------------------------------------- 1 | # [HTML5 Boilerplate](https://html5boilerplate.com) 2 | 3 | [![Build Status](https://travis-ci.org/h5bp/html5-boilerplate.svg)](https://travis-ci.org/h5bp/html5-boilerplate) 4 | [![devDependency Status](https://david-dm.org/h5bp/html5-boilerplate/dev-status.svg)](https://david-dm.org/h5bp/html5-boilerplate#info=devDependencies) 5 | 6 | HTML5 Boilerplate is a professional front-end template for building 7 | fast, robust, and adaptable web apps or sites. 8 | 9 | This project is the product of many years of iterative development and 10 | combined community knowledge. It does not impose a specific development 11 | philosophy or framework, so you're free to architect your code in the 12 | way that you want. 13 | 14 | * Homepage: [https://html5boilerplate.com](https://html5boilerplate.com) 15 | * Source: [https://github.com/h5bp/html5-boilerplate](https://github.com/h5bp/html5-boilerplate) 16 | * Twitter: [@h5bp](https://twitter.com/h5bp) 17 | 18 | 19 | ## Quick start 20 | 21 | Choose one of the following options: 22 | 23 | 1. Download the latest stable release from 24 | [html5boilerplate.com](https://html5boilerplate.com/) or create a 25 | custom build using [Initializr](http://www.initializr.com). 26 | 2. Clone the git repo — `git clone 27 | https://github.com/h5bp/html5-boilerplate.git` - and checkout the 28 | [tagged release](https://github.com/h5bp/html5-boilerplate/releases) 29 | you'd like to use. 30 | 31 | 32 | ## Features 33 | 34 | * HTML5 ready. Use the new elements with confidence. 35 | * Designed with progressive enhancement in mind. 36 | * Includes: 37 | * [`Normalize.css`](https://necolas.github.com/normalize.css/) 38 | for CSS normalizations and common bug fixes 39 | * [`jQuery`](https://jquery.com/) via CDN, with a local fallback 40 | * A custom build of [`Modernizr`](http://modernizr.com/) for feature 41 | detection 42 | * [`Apache Server Configs`](https://github.com/h5bp/server-configs-apache) 43 | that, among other, improve the web site's performance and security 44 | * Placeholder CSS Media Queries. 45 | * Useful CSS helper classes. 46 | * Default print styles, performance optimized. 47 | * An optimized version of the Google Universal Analytics snippet. 48 | * Protection against any stray `console` statements causing JavaScript 49 | errors in older browsers. 50 | * "Delete-key friendly." Easy to strip out parts you don't need. 51 | * Extensive inline and accompanying documentation. 52 | 53 | 54 | ## Browser support 55 | 56 | * Chrome *(latest 2)* 57 | * Firefox *(latest 2)* 58 | * Internet Explorer 8+ 59 | * Opera *(latest 2)* 60 | * Safari *(latest 2)* 61 | 62 | *This doesn't mean that HTML5 Boilerplate cannot be used in older browsers, 63 | just that we'll ensure compatibility with the ones mentioned above.* 64 | 65 | If you need legacy browser support (IE 6+, Firefox 3.6+, Safari 4+) you 66 | can use [HTML5 Boilerplate v4](https://github.com/h5bp/html5-boilerplate/tree/v4), 67 | but is no longer actively developed. 68 | 69 | 70 | ## Documentation 71 | 72 | Take a look at the [documentation table of contents](dist/doc/TOC.md). 73 | This documentation is bundled with the project, which makes it readily 74 | available for offline reading and provides a useful starting point for 75 | any documentation you want to write about your project. 76 | 77 | 78 | ## Contributing 79 | 80 | Hundreds of developers have helped make the HTML5 Boilerplate what it is 81 | today. Anyone and everyone is welcome to [contribute](CONTRIBUTING.md), 82 | however, if you decide to get involved, please take a moment to review 83 | the [guidelines](CONTRIBUTING.md): 84 | 85 | * [Bug reports](CONTRIBUTING.md#bugs) 86 | * [Feature requests](CONTRIBUTING.md#features) 87 | * [Pull requests](CONTRIBUTING.md#pull-requests) 88 | 89 | 90 | ## License 91 | 92 | The code is available under the [MIT license](LICENSE.txt). 93 | -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/test/file_existence.js: -------------------------------------------------------------------------------- 1 | /* jshint mocha: true */ 2 | 3 | var assert = require('assert'); 4 | var fs = require('fs'); 5 | var path = require('path'); 6 | 7 | var pkg = require('./../package.json'); 8 | var dirs = pkg['h5bp-configs'].directories; 9 | 10 | var expectedFilesInArchiveDir = [ 11 | pkg.name + '_v' + pkg.version + '.zip' 12 | ]; 13 | 14 | var expectedFilesInDistDir = [ 15 | 16 | '.editorconfig', 17 | '.gitattributes', 18 | '.gitignore', 19 | '.htaccess', 20 | '404.html', 21 | 'apple-touch-icon.png', 22 | 'browserconfig.xml', 23 | 'crossdomain.xml', 24 | 25 | 'css/', // for directories, a `/` character 26 | // should be included at the end 27 | 'css/main.css', 28 | 'css/normalize.css', 29 | 30 | 'doc/', 31 | 'doc/TOC.md', 32 | 'doc/css.md', 33 | 'doc/extend.md', 34 | 'doc/faq.md', 35 | 'doc/html.md', 36 | 'doc/js.md', 37 | 'doc/misc.md', 38 | 'doc/usage.md', 39 | 40 | 'favicon.ico', 41 | 'humans.txt', 42 | 43 | 'img/', 44 | 'img/.gitignore', 45 | 46 | 'index.html', 47 | 48 | 'js/', 49 | 'js/main.js', 50 | 'js/plugins.js', 51 | 'js/vendor/', 52 | 'js/vendor/jquery-' + pkg.devDependencies.jquery + '.min.js', 53 | 'js/vendor/modernizr-2.8.3.min.js', 54 | 55 | 'LICENSE.txt', 56 | 'robots.txt', 57 | 'tile-wide.png', 58 | 'tile.png' 59 | 60 | ]; 61 | 62 | // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 63 | 64 | function checkFiles(directory, expectedFiles) { 65 | 66 | // Get the list of files from the specified directory 67 | var files = require('glob').sync('**/*', { 68 | 'cwd': directory, 69 | 'dot': true, // include hidden files 70 | 'mark': true // add a `/` character to directory matches 71 | }); 72 | 73 | // Check if all expected files are present in the 74 | // specified directory, and are of the expected type 75 | expectedFiles.forEach(function (file) { 76 | 77 | var ok = false; 78 | var expectedFileType = (file.slice(-1) !== '/' ? 'regular file' : 'directory'); 79 | 80 | // If file exists 81 | if (files.indexOf(file) !== -1) { 82 | 83 | // Check if the file is of the correct type 84 | if (file.slice(-1) !== '/') { 85 | // Check if the file is really a regular file 86 | ok = fs.statSync(path.resolve(directory, file)).isFile(); 87 | } else { 88 | // Check if the file is a directory 89 | // (Since glob adds the `/` character to directory matches, 90 | // we can simply check if the `/` character is present) 91 | ok = (files[files.indexOf(file)].slice(-1) === '/'); 92 | } 93 | 94 | } 95 | 96 | it('"' + file + '" should be present and it should be a ' + expectedFileType, function () { 97 | assert.equal(true, ok); 98 | }); 99 | 100 | }); 101 | 102 | // List all files that should be NOT 103 | // be present in the specified directory 104 | (files.filter(function (file) { 105 | return expectedFiles.indexOf(file) === -1; 106 | })).forEach(function (file) { 107 | it('"' + file + '" should NOT be present', function () { 108 | assert(false); 109 | }); 110 | }); 111 | 112 | } 113 | 114 | // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 115 | 116 | function runTests() { 117 | 118 | describe('Test if all the expected files, and only them, are present in the build directories', function () { 119 | 120 | describe(dirs.archive, function () { 121 | checkFiles(dirs.archive, expectedFilesInArchiveDir); 122 | }); 123 | 124 | describe(dirs.dist, function () { 125 | checkFiles(dirs.dist, expectedFilesInDistDir); 126 | }); 127 | 128 | }); 129 | 130 | } 131 | 132 | runTests(); 133 | -------------------------------------------------------------------------------- /app/bower_components/angular-route/angular-route.min.js: -------------------------------------------------------------------------------- 1 | /* 2 | AngularJS v1.4.7 3 | (c) 2010-2015 Google, Inc. http://angularjs.org 4 | License: MIT 5 | */ 6 | (function(p,c,C){'use strict';function v(r,h,g){return{restrict:"ECA",terminal:!0,priority:400,transclude:"element",link:function(a,f,b,d,y){function z(){k&&(g.cancel(k),k=null);l&&(l.$destroy(),l=null);m&&(k=g.leave(m),k.then(function(){k=null}),m=null)}function x(){var b=r.current&&r.current.locals;if(c.isDefined(b&&b.$template)){var b=a.$new(),d=r.current;m=y(b,function(b){g.enter(b,null,m||f).then(function(){!c.isDefined(t)||t&&!a.$eval(t)||h()});z()});l=d.scope=b;l.$emit("$viewContentLoaded"); 7 | l.$eval(w)}else z()}var l,m,k,t=b.autoscroll,w=b.onload||"";a.$on("$routeChangeSuccess",x);x()}}}function A(c,h,g){return{restrict:"ECA",priority:-400,link:function(a,f){var b=g.current,d=b.locals;f.html(d.$template);var y=c(f.contents());b.controller&&(d.$scope=a,d=h(b.controller,d),b.controllerAs&&(a[b.controllerAs]=d),f.data("$ngControllerController",d),f.children().data("$ngControllerController",d));y(a)}}}p=c.module("ngRoute",["ng"]).provider("$route",function(){function r(a,f){return c.extend(Object.create(a), 8 | f)}function h(a,c){var b=c.caseInsensitiveMatch,d={originalPath:a,regexp:a},g=d.keys=[];a=a.replace(/([().])/g,"\\$1").replace(/(\/)?:(\w+)([\?\*])?/g,function(a,c,b,d){a="?"===d?d:null;d="*"===d?d:null;g.push({name:b,optional:!!a});c=c||"";return""+(a?"":c)+"(?:"+(a?c:"")+(d&&"(.+?)"||"([^/]+)")+(a||"")+")"+(a||"")}).replace(/([\/$\*])/g,"\\$1");d.regexp=new RegExp("^"+a+"$",b?"i":"");return d}var g={};this.when=function(a,f){var b=c.copy(f);c.isUndefined(b.reloadOnSearch)&&(b.reloadOnSearch=!0); 9 | c.isUndefined(b.caseInsensitiveMatch)&&(b.caseInsensitiveMatch=this.caseInsensitiveMatch);g[a]=c.extend(b,a&&h(a,b));if(a){var d="/"==a[a.length-1]?a.substr(0,a.length-1):a+"/";g[d]=c.extend({redirectTo:a},h(d,b))}return this};this.caseInsensitiveMatch=!1;this.otherwise=function(a){"string"===typeof a&&(a={redirectTo:a});this.when(null,a);return this};this.$get=["$rootScope","$location","$routeParams","$q","$injector","$templateRequest","$sce",function(a,f,b,d,h,p,x){function l(b){var e=s.current; 10 | (v=(n=k())&&e&&n.$$route===e.$$route&&c.equals(n.pathParams,e.pathParams)&&!n.reloadOnSearch&&!w)||!e&&!n||a.$broadcast("$routeChangeStart",n,e).defaultPrevented&&b&&b.preventDefault()}function m(){var u=s.current,e=n;if(v)u.params=e.params,c.copy(u.params,b),a.$broadcast("$routeUpdate",u);else if(e||u)w=!1,(s.current=e)&&e.redirectTo&&(c.isString(e.redirectTo)?f.path(t(e.redirectTo,e.params)).search(e.params).replace():f.url(e.redirectTo(e.pathParams,f.path(),f.search())).replace()),d.when(e).then(function(){if(e){var a= 11 | c.extend({},e.resolve),b,f;c.forEach(a,function(b,e){a[e]=c.isString(b)?h.get(b):h.invoke(b,null,null,e)});c.isDefined(b=e.template)?c.isFunction(b)&&(b=b(e.params)):c.isDefined(f=e.templateUrl)&&(c.isFunction(f)&&(f=f(e.params)),c.isDefined(f)&&(e.loadedTemplateUrl=x.valueOf(f),b=p(f)));c.isDefined(b)&&(a.$template=b);return d.all(a)}}).then(function(f){e==s.current&&(e&&(e.locals=f,c.copy(e.params,b)),a.$broadcast("$routeChangeSuccess",e,u))},function(b){e==s.current&&a.$broadcast("$routeChangeError", 12 | e,u,b)})}function k(){var a,b;c.forEach(g,function(d,g){var q;if(q=!b){var h=f.path();q=d.keys;var l={};if(d.regexp)if(h=d.regexp.exec(h)){for(var k=1,m=h.length;k