parent
2109c30afe
commit
dad1bc7ca3
2
LICENSE
2
LICENSE
@ -1,6 +1,6 @@
|
|||||||
The MIT License
|
The MIT License
|
||||||
|
|
||||||
Copyright (c) 2014-2018 Google, Inc. http://angular.io
|
Copyright (c) 2010-2019 Google LLC. http://angular.io/license
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
@description
|
@description
|
||||||
The MIT License
|
The MIT License
|
||||||
|
|
||||||
Copyright (c) 2014-2018 Google, Inc.
|
Copyright (c) 2010-2019 Google LLC. http://angular.io/license
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
@ -1,23 +1,20 @@
|
|||||||
|
<div class="grid-fluid">
|
||||||
<div class="grid-fluid">
|
|
||||||
<div class="footer-block" *ngFor="let node of nodes">
|
<div class="footer-block" *ngFor="let node of nodes">
|
||||||
<h3>{{node.title}}</h3>
|
<h3>{{node.title}}</h3>
|
||||||
<ul>
|
<ul>
|
||||||
<li *ngFor="let item of node.children">
|
<li *ngFor="let item of node.children">
|
||||||
<a class="link" [href]="item.url"
|
<a class="link" [href]="item.url" [title]="item.tooltip || item.title">{{ item.title }}</a>
|
||||||
[title]="item.tooltip || item.title">{{ item.title }}</a>
|
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Powered by Google ©2010-2018.
|
Super-powered by Google ©2010-2019.
|
||||||
Code licensed under an <a href="license" title="License text" >MIT-style License</a>.
|
Code licensed under an <a href="license" title="License text">MIT-style License</a>.
|
||||||
Documentation licensed under
|
Documentation licensed under
|
||||||
<a href="http://creativecommons.org/licenses/by/4.0/">CC BY 4.0</a>.
|
<a href="http://creativecommons.org/licenses/by/4.0/">CC BY 4.0</a>.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
Version {{versionInfo?.full}}.
|
Version {{versionInfo?.full}}.
|
||||||
</p>
|
</p>
|
||||||
<!-- TODO: twitter widget (but only on pages that use twitter) -->
|
|
@ -1,9 +1,3 @@
|
|||||||
/*
|
|
||||||
Copyright 2016 Google Inc. All Rights Reserved.
|
|
||||||
Use of this source code is governed by an MIT-style license that
|
|
||||||
can be found in the LICENSE file at http://angular.io/license
|
|
||||||
*/
|
|
||||||
|
|
||||||
import { NgZone, Injectable } from '@angular/core';
|
import { NgZone, Injectable } from '@angular/core';
|
||||||
import { ConnectableObservable, Observable, race, ReplaySubject, timer } from 'rxjs';
|
import { ConnectableObservable, Observable, race, ReplaySubject, timer } from 'rxjs';
|
||||||
import { concatMap, first, publishReplay } from 'rxjs/operators';
|
import { concatMap, first, publishReplay } from 'rxjs/operators';
|
||||||
|
@ -1,9 +1,3 @@
|
|||||||
/*
|
|
||||||
Copyright 2016 Google Inc. All Rights Reserved.
|
|
||||||
Use of this source code is governed by an MIT-style license that
|
|
||||||
can be found in the LICENSE file at http://angular.io/license
|
|
||||||
*/
|
|
||||||
|
|
||||||
import {NgZone} from '@angular/core';
|
import {NgZone} from '@angular/core';
|
||||||
import {Observable} from 'rxjs';
|
import {Observable} from 'rxjs';
|
||||||
|
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
/*
|
||||||
|
Copyright Google LLC. All Rights Reserved.
|
||||||
|
Use of this source code is governed by an MIT-style license that
|
||||||
|
can be found in the LICENSE file at http://angular.io/license
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* WEB VERSION FOR CURRENT ANGULAR BUILD
|
* WEB VERSION FOR CURRENT ANGULAR BUILD
|
||||||
* (based on systemjs.config.js in angular.io)
|
* (based on systemjs.config.js in angular.io)
|
||||||
@ -94,9 +101,3 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
})(this);
|
})(this);
|
||||||
|
|
||||||
/*
|
|
||||||
Copyright 2016 Google Inc. All Rights Reserved.
|
|
||||||
Use of this source code is governed by an MIT-style license that
|
|
||||||
can be found in the LICENSE file at http://angular.io/license
|
|
||||||
*/
|
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
/*
|
||||||
|
Copyright Google LLC. All Rights Reserved.
|
||||||
|
Use of this source code is governed by an MIT-style license that
|
||||||
|
can be found in the LICENSE file at http://angular.io/license
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* WEB ANGULAR VERSION
|
* WEB ANGULAR VERSION
|
||||||
* (based on systemjs.config.js in angular.io)
|
* (based on systemjs.config.js in angular.io)
|
||||||
@ -80,9 +86,3 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
})(this);
|
})(this);
|
||||||
|
|
||||||
/*
|
|
||||||
Copyright 2016 Google Inc. All Rights Reserved.
|
|
||||||
Use of this source code is governed by an MIT-style license that
|
|
||||||
can be found in the LICENSE file at http://angular.io/license
|
|
||||||
*/
|
|
||||||
|
@ -51,9 +51,9 @@ class StackblitzBuilder {
|
|||||||
}
|
}
|
||||||
|
|
||||||
_buildCopyrightStrings() {
|
_buildCopyrightStrings() {
|
||||||
var copyright = 'Copyright 2017-2018 Google Inc. All Rights Reserved.\n'
|
var copyright = 'Copyright Google LLC. All Rights Reserved.\n' +
|
||||||
+ 'Use of this source code is governed by an MIT-style license that\n'
|
'Use of this source code is governed by an MIT-style license that\n' +
|
||||||
+ 'can be found in the LICENSE file at http://angular.io/license';
|
'can be found in the LICENSE file at http://angular.io/license';
|
||||||
var pad = '\n\n';
|
var pad = '\n\n';
|
||||||
this.copyrights.jsCss = `${pad}/*\n${copyright}\n*/`;
|
this.copyrights.jsCss = `${pad}/*\n${copyright}\n*/`;
|
||||||
this.copyrights.html = `${pad}<!-- \n${copyright}\n-->`;
|
this.copyrights.html = `${pad}<!-- \n${copyright}\n-->`;
|
||||||
|
@ -91,7 +91,7 @@ Hello
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @license Angular v0.0.0
|
* @license Angular v0.0.0
|
||||||
* (c) 2010-2018 Google, Inc. https://angular.io/
|
* (c) 2010-2019 Google LLC. https://angular.io/
|
||||||
* License: MIT
|
* License: MIT
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -165,7 +165,7 @@ Hello
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @license Angular v0.0.0
|
* @license Angular v0.0.0
|
||||||
* (c) 2010-2018 Google, Inc. https://angular.io/
|
* (c) 2010-2019 Google LLC. https://angular.io/
|
||||||
* License: MIT
|
* License: MIT
|
||||||
*/
|
*/
|
||||||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core")):"function"==typeof define&&define.amd?define("example/secondary",["exports","@angular/core"],t):t(((e=e||self).example=e.example||{},e.example.secondary={}),e.ng.core)}(this,function(e,t){"use strict";
|
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core")):"function"==typeof define&&define.amd?define("example/secondary",["exports","@angular/core"],t):t(((e=e||self).example=e.example||{},e.example.secondary={}),e.ng.core)}(this,function(e,t){"use strict";
|
||||||
@ -190,7 +190,7 @@ e.SecondaryModule=o,e.a=1,Object.defineProperty(e,"__esModule",{value:!0})});
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @license Angular v0.0.0
|
* @license Angular v0.0.0
|
||||||
* (c) 2010-2018 Google, Inc. https://angular.io/
|
* (c) 2010-2019 Google LLC. https://angular.io/
|
||||||
* License: MIT
|
* License: MIT
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -262,7 +262,7 @@ e.SecondaryModule=o,e.a=1,Object.defineProperty(e,"__esModule",{value:!0})});
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @license Angular v0.0.0
|
* @license Angular v0.0.0
|
||||||
* (c) 2010-2018 Google, Inc. https://angular.io/
|
* (c) 2010-2019 Google LLC. https://angular.io/
|
||||||
* License: MIT
|
* License: MIT
|
||||||
*/
|
*/
|
||||||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core")):"function"==typeof define&&define.amd?define("example",["exports","@angular/core"],t):t((e=e||self).example={},e.ng.core)}(this,function(e,t){"use strict";
|
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core")):"function"==typeof define&&define.amd?define("example",["exports","@angular/core"],t):t((e=e||self).example={},e.ng.core)}(this,function(e,t){"use strict";
|
||||||
@ -502,7 +502,7 @@ export * from './index';
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @license Angular v0.0.0
|
* @license Angular v0.0.0
|
||||||
* (c) 2010-2018 Google, Inc. https://angular.io/
|
* (c) 2010-2019 Google LLC. https://angular.io/
|
||||||
* License: MIT
|
* License: MIT
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -537,7 +537,7 @@ export { SecondaryModule, a };
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @license Angular v0.0.0
|
* @license Angular v0.0.0
|
||||||
* (c) 2010-2018 Google, Inc. https://angular.io/
|
* (c) 2010-2019 Google LLC. https://angular.io/
|
||||||
* License: MIT
|
* License: MIT
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -570,7 +570,7 @@ export { MyModule };
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @license Angular v0.0.0
|
* @license Angular v0.0.0
|
||||||
* (c) 2010-2018 Google, Inc. https://angular.io/
|
* (c) 2010-2019 Google LLC. https://angular.io/
|
||||||
* License: MIT
|
* License: MIT
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -614,7 +614,7 @@ export { SecondaryModule, a };
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @license Angular v0.0.0
|
* @license Angular v0.0.0
|
||||||
* (c) 2010-2018 Google, Inc. https://angular.io/
|
* (c) 2010-2019 Google LLC. https://angular.io/
|
||||||
* License: MIT
|
* License: MIT
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -749,7 +749,7 @@ export declare const a = 1;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @license Angular v0.0.0
|
* @license Angular v0.0.0
|
||||||
* (c) 2010-2018 Google, Inc. https://angular.io/
|
* (c) 2010-2019 Google LLC. https://angular.io/
|
||||||
* License: MIT
|
* License: MIT
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/**
|
/**
|
||||||
* @license Angular v0.0.0-PLACEHOLDER
|
* @license Angular v0.0.0-PLACEHOLDER
|
||||||
* (c) 2010-2018 Google, Inc. https://angular.io/
|
* (c) 2010-2019 Google LLC. https://angular.io/
|
||||||
* License: MIT
|
* License: MIT
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* @license Angular v0.0.0-PLACEHOLDER
|
* @license Angular v0.0.0-PLACEHOLDER
|
||||||
* (c) 2010-2018 Google, Inc. https://angular.io/
|
* (c) 2010-2019 Google LLC. https://angular.io/
|
||||||
* License: MIT
|
* License: MIT
|
||||||
*/
|
*/
|
||||||
|
@ -1,21 +0,0 @@
|
|||||||
The MIT License
|
|
||||||
|
|
||||||
Copyright (c) 2017-2018 Google, Inc. http://angular.io
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in
|
|
||||||
all copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
||||||
THE SOFTWARE.
|
|
@ -5,21 +5,5 @@ Managing state transitions is one of the hardest parts of building applications.
|
|||||||
|
|
||||||
The Angular router is designed to solve these problems. Using the router, you can declaratively specify application state, manage state transitions while taking care of the URL, and load components on demand.
|
The Angular router is designed to solve these problems. Using the router, you can declaratively specify application state, manage state transitions while taking care of the URL, and load components on demand.
|
||||||
|
|
||||||
## Overview
|
|
||||||
Read the overview of the Router [here](https://vsavkin.com/angular-2-router-d9e30599f9ea).
|
|
||||||
|
|
||||||
## Guide
|
## Guide
|
||||||
Read the dev guide [here](https://angular.io/docs/ts/latest/guide/router.html).
|
Read the dev guide [here](https://angular.io/guide/router).
|
||||||
|
|
||||||
## Local development
|
|
||||||
|
|
||||||
```
|
|
||||||
# keep @angular/router fresh
|
|
||||||
$ ./scripts/karma.sh
|
|
||||||
|
|
||||||
# keep @angular/core fresh
|
|
||||||
$ ../../../node_modules/.bin/tsc -p modules --emitDecoratorMetadata -w
|
|
||||||
|
|
||||||
# start karma
|
|
||||||
$ ./scripts/karma.sh
|
|
||||||
```
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user