This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
polyfills-es2017.11bc46ccab0394a024d2.js:1 A preload for 'https://next.angular.io/generated/navigation.json' is found, but is not used because the request headers do not match. | |
g @ polyfills-es2017.11bc46ccab0394a024d2.js:1 | |
src_app_custom-elements_toc_toc_module_ts-es2017.1337522d0bd53e657011.js:1 Failed to load resource: the server responded with a status of 404 () | |
main-es2017.b7522200ac5e9b2c76f8.js:1 ERROR Error: [DocViewer] Error preparing document 'guide/angular-compiler-options': ChunkLoadError: Loading chunk src_app_custom-elements_toc_toc_module_ts failed. | |
(error: https://next.angular.io/src_app_custom-elements_toc_toc_module_ts-es2017.1337522d0bd53e657011.js) | |
at Object.a.f.j (runtime-es2017.a003c870ae813ea3fd3e.js:1) | |
at runtime-es2017.a003c870ae813ea3fd3e.js:1 | |
at Array.reduce (<anonymous>) | |
at Function.a.e (runtime-es2017.a003c870ae813ea3fd3e.js:1) | |
at loadChildren (main-es2017.b7522200ac5e9b2c76f8.js:1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@alfresco/adf-core/esm2015/form/components/widgets/container/container.widget.js -> @alfresco/adf-core/esm2015/form/components/form-field/form-field.component.js -> @alfresco/adf-core/esm2015/form/services/form-rendering.service.js -> @alfresco/adf-core/esm2015/form/components/widgets/index.js -> @alfresco/adf-core/esm2015/form/components/widgets/container/container.widget.js | |
@alfresco/adf-core/esm2015/form/components/widgets/tabs/tabs.widget.js -> @alfresco/adf-core/esm2015/form/components/form-field/form-field.component.js -> @alfresco/adf-core/esm2015/form/services/form-rendering.service.js -> @alfresco/adf-core/esm2015/form/components/widgets/index.js -> @alfresco/adf-core/esm2015/form/components/widgets/tabs/tabs.widget.js | |
@covalent/core/esm2015/data-table/data-table.component.js -> @covalent/core/esm2015/data-table/data-table-column/data-table-column.component.js -> @covalent/core/esm2015/data-table/data-table.component.js | |
@delon/abc/esm2015/se/se-container.component.js -> @delon/abc/esm2015/se/se-title |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component } from '@angular/core'; | |
@Component({ | |
selector: 'app-root', | |
template: ` | |
<h1> | |
{{title | bang}} | |
</h1> | |
`, | |
styles: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
====================== | |
Firefox on Android | |
====================== | |
something terrible has happened. oh no. oh no. | |
AppComponent@app.component.ts:31:29 | |
createClass@core.umd.js:12200:20 | |
createDirectiveInstance@core.umd.j | |
====================== | |
Safari 11 | |
====================== |
dgeni is a documentation generator developed by the Angular team. Ironically it lacks documentation right now, so we try to develop a very simple step-by-step-guide here, until a better documentation is available. Please share and fork this Gist.
dgeni is currently used in these project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html ng-app="roydor"> | |
<head> | |
<meta charset="utf-8" /> | |
<title>AngularJS test</title> | |
<script src="angular.js"></script> | |
</head> | |
<body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {Modal} from './interfaces' | |
export interface MyModal extends Modal { | |
new(message: string): this | |
} | |
/////////// | |
// obviously this is contrived because you are unlikely to want a singleton modal instance | |
angular.module('foo').value('myModalInstance', new MyModal('some message')); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @license AngularJS v1.0.7 | |
* (c) 2010-2012 Google, Inc. http://angularjs.org | |
* License: MIT | |
*/ | |
(function(window, document, undefined) { | |
'use strict'; | |
//////////////////////////////////// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
angular.module('onlineModule',[]).factory('dataService', { ... }); | |
angular.module('offlineModule',[]).factory('dataService', { ... }); | |
var app = angular.module('myApp', ['onlineModule']); // onlineModule or offlineModule | |
app.service('x', function (dataService) { // $dataService could be onlineModule.dataService or offlineModule.dataService | |
// online or offline? we don't care! | |
}); | |
app.service('y', function (dataService) { |
NewerOlder