From b5744c813a5cc3c3123372e4c8b1f27a6037a1e2 Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Tue, 3 Nov 2015 16:41:38 +0000 Subject: [PATCH] api-index: generate index page API list dynamically Dgeni now generates a JSON file that is loaded by the AppController into the index page for the API docs. --- .../api-builder/angular.io-package/index.js | 6 + .../processors/addJadeDataDocsProcessor.js | 17 +- .../templates/app-data.template.html | 11 + public/docs/ts/latest/api/index.jade | 2 +- public/resources/js/app-data.json | 1787 +++++++++++++++++ .../js/controllers/app-controller.js | 1665 +-------------- 6 files changed, 1828 insertions(+), 1660 deletions(-) create mode 100644 public/api-builder/angular.io-package/templates/app-data.template.html create mode 100644 public/resources/js/app-data.json diff --git a/public/api-builder/angular.io-package/index.js b/public/api-builder/angular.io-package/index.js index 4884d52d27..377ec17f15 100644 --- a/public/api-builder/angular.io-package/index.js +++ b/public/api-builder/angular.io-package/index.js @@ -73,6 +73,12 @@ module.exports = new Package('angular.io', [basePackage]) pathTemplate: '${originalDoc.path}/_data', outputPathTemplate: '${path}.json' }); + + computePathsProcessor.pathTemplates.push({ + docTypes: ['app-data'], + pathTemplate: '../../../../resources/js/app-data', + outputPathTemplate: '${path}.json' + }); }) .config(function(getLinkInfo) { diff --git a/public/api-builder/angular.io-package/processors/addJadeDataDocsProcessor.js b/public/api-builder/angular.io-package/processors/addJadeDataDocsProcessor.js index 677098f3c7..6bb041f51f 100644 --- a/public/api-builder/angular.io-package/processors/addJadeDataDocsProcessor.js +++ b/public/api-builder/angular.io-package/processors/addJadeDataDocsProcessor.js @@ -27,6 +27,12 @@ module.exports = function addJadeDataDocsProcessor() { var extraDocs = []; var modules = []; + var appDataDoc = { + id: 'app-data', + docType: 'app-data', + data: {} + }; + extraDocs.push(appDataDoc); /* * Create Data for Modules @@ -54,7 +60,8 @@ module.exports = function addJadeDataDocsProcessor() { var dataDoc = { name: exportDoc.name + '-' + exportDoc.docType, title: exportDoc.name, - docType: exportDoc.docType + docType: exportDoc.docType, + exportDoc: exportDoc }; if (exportDoc.symbolTypeName) dataDoc.varType = titleCase(exportDoc.symbolTypeName); if (exportDoc.originalModule) dataDoc.originalModule = exportDoc.originalModule; @@ -63,13 +70,13 @@ module.exports = function addJadeDataDocsProcessor() { .sortBy('name') .value(); + // ADD TO APP DATA DOC + appDataDoc.data[doc.id] = modulePageInfo; - - - //COMBINE PAGE DATA + // COMBINE WITH INDEX PAGE DATA var allPageData = indexPageInfo.concat(modulePageInfo); - // PUSH DATA TO EXTRA DOCS ARRAY + // PUSH JADE DATA DOC TO EXTRA DOCS ARRAY extraDocs.push({ id: doc.id + "-data", aliases: [doc.id + "-data"], diff --git a/public/api-builder/angular.io-package/templates/app-data.template.html b/public/api-builder/angular.io-package/templates/app-data.template.html new file mode 100644 index 0000000000..b5fbe2cacb --- /dev/null +++ b/public/api-builder/angular.io-package/templates/app-data.template.html @@ -0,0 +1,11 @@ +{ +{%- for module, items in doc.data %} + "{$ module $}" : [{% for item in items %} + { + "title": "{$ item.title $}", + "path": "{$ item.exportDoc.path $}", + "docType": "{$ item.docType $}" + }{% if not loop.last %},{% endif %} + {% endfor %}]{% if not loop.last %},{% endif %} +{% endfor -%} +} diff --git a/public/docs/ts/latest/api/index.jade b/public/docs/ts/latest/api/index.jade index a4bfa0ec2e..dd52c5cf65 100644 --- a/public/docs/ts/latest/api/index.jade +++ b/public/docs/ts/latest/api/index.jade @@ -13,6 +13,6 @@ article(class="l-content-small grid-fluid docs-content") h3 {{ section.title }} ul.api-list li.api-item(ng-repeat='item in apiList[section.name] | filter: { title: apiFilter, docType: apiType }') - a(ng-href='{{ section.name }}/{{ item.title }}-{{ item.docType }}.html') + a(ng-href='{{ item.path }}') span(class='symbol {{ item.docType }}') | {{ item.title }} diff --git a/public/resources/js/app-data.json b/public/resources/js/app-data.json new file mode 100644 index 0000000000..b0b6b64d53 --- /dev/null +++ b/public/resources/js/app-data.json @@ -0,0 +1,1787 @@ +{ + "angular2/lifecycle_hooks" : [ + { + "title": "AfterContentChecked", + "path": "lifecycle_hooks/AfterContentChecked-interface.html", + "docType": "interface" + }, + + { + "title": "AfterContentInit", + "path": "lifecycle_hooks/AfterContentInit-interface.html", + "docType": "interface" + }, + + { + "title": "AfterViewChecked", + "path": "lifecycle_hooks/AfterViewChecked-interface.html", + "docType": "interface" + }, + + { + "title": "AfterViewInit", + "path": "lifecycle_hooks/AfterViewInit-interface.html", + "docType": "interface" + }, + + { + "title": "DoCheck", + "path": "lifecycle_hooks/DoCheck-interface.html", + "docType": "interface" + }, + + { + "title": "OnChanges", + "path": "lifecycle_hooks/OnChanges-interface.html", + "docType": "interface" + }, + + { + "title": "OnDestroy", + "path": "lifecycle_hooks/OnDestroy-interface.html", + "docType": "interface" + }, + + { + "title": "OnInit", + "path": "lifecycle_hooks/OnInit-interface.html", + "docType": "interface" + } + ], + + "angular2/core" : [ + { + "title": "APP_COMPONENT", + "path": "core/APP_COMPONENT-const.html", + "docType": "const" + }, + + { + "title": "APP_ID", + "path": "core/APP_ID-const.html", + "docType": "const" + }, + + { + "title": "AbstractProviderError", + "path": "core/AbstractProviderError-class.html", + "docType": "class" + }, + + { + "title": "AfterContentChecked", + "path": "core/AfterContentChecked-interface.html", + "docType": "interface" + }, + + { + "title": "AfterContentInit", + "path": "core/AfterContentInit-interface.html", + "docType": "interface" + }, + + { + "title": "AfterViewChecked", + "path": "core/AfterViewChecked-interface.html", + "docType": "interface" + }, + + { + "title": "AfterViewInit", + "path": "core/AfterViewInit-interface.html", + "docType": "interface" + }, + + { + "title": "AppRootUrl", + "path": "core/AppRootUrl-class.html", + "docType": "class" + }, + + { + "title": "AsyncPipe", + "path": "core/AsyncPipe-class.html", + "docType": "class" + }, + + { + "title": "Attribute", + "path": "core/Attribute-var.html", + "docType": "var" + }, + + { + "title": "AttributeFactory", + "path": "core/AttributeFactory-interface.html", + "docType": "interface" + }, + + { + "title": "AttributeMetadata", + "path": "core/AttributeMetadata-class.html", + "docType": "class" + }, + + { + "title": "Binding", + "path": "core/Binding-class.html", + "docType": "class" + }, + + { + "title": "By", + "path": "core/By-class.html", + "docType": "class" + }, + + { + "title": "CORE_DIRECTIVES", + "path": "core/CORE_DIRECTIVES-const.html", + "docType": "const" + }, + + { + "title": "ChangeDetectionError", + "path": "core/ChangeDetectionError-class.html", + "docType": "class" + }, + + { + "title": "ChangeDetectionStrategy", + "path": "core/ChangeDetectionStrategy-enum.html", + "docType": "enum" + }, + + { + "title": "CheckboxControlValueAccessor", + "path": "core/CheckboxControlValueAccessor-directive.html", + "docType": "directive" + }, + + { + "title": "Class", + "path": "core/Class-function.html", + "docType": "function" + }, + + { + "title": "ClassDefinition", + "path": "core/ClassDefinition-interface.html", + "docType": "interface" + }, + + { + "title": "Component", + "path": "core/Component-var.html", + "docType": "var" + }, + + { + "title": "ComponentDecorator", + "path": "core/ComponentDecorator-interface.html", + "docType": "interface" + }, + + { + "title": "ComponentFactory", + "path": "core/ComponentFactory-interface.html", + "docType": "interface" + }, + + { + "title": "ComponentMetadata", + "path": "core/ComponentMetadata-class.html", + "docType": "class" + }, + + { + "title": "ConcreteType", + "path": "core/ConcreteType-interface.html", + "docType": "interface" + }, + + { + "title": "ContentChild", + "path": "core/ContentChild-var.html", + "docType": "var" + }, + + { + "title": "ContentChildFactory", + "path": "core/ContentChildFactory-interface.html", + "docType": "interface" + }, + + { + "title": "ContentChildMetadata", + "path": "core/ContentChildMetadata-class.html", + "docType": "class" + }, + + { + "title": "ContentChildren", + "path": "core/ContentChildren-var.html", + "docType": "var" + }, + + { + "title": "ContentChildrenFactory", + "path": "core/ContentChildrenFactory-interface.html", + "docType": "interface" + }, + + { + "title": "ContentChildrenMetadata", + "path": "core/ContentChildrenMetadata-class.html", + "docType": "class" + }, + + { + "title": "Control", + "path": "core/Control-class.html", + "docType": "class" + }, + + { + "title": "ControlArray", + "path": "core/ControlArray-class.html", + "docType": "class" + }, + + { + "title": "ControlContainer", + "path": "core/ControlContainer-class.html", + "docType": "class" + }, + + { + "title": "ControlGroup", + "path": "core/ControlGroup-class.html", + "docType": "class" + }, + + { + "title": "ControlValueAccessor", + "path": "core/ControlValueAccessor-interface.html", + "docType": "interface" + }, + + { + "title": "CurrencyPipe", + "path": "core/CurrencyPipe-class.html", + "docType": "class" + }, + + { + "title": "CyclicDependencyError", + "path": "core/CyclicDependencyError-class.html", + "docType": "class" + }, + + { + "title": "DEFAULT_PIPES", + "path": "core/DEFAULT_PIPES-const.html", + "docType": "const" + }, + + { + "title": "DEFAULT_PIPES_TOKEN", + "path": "core/DEFAULT_PIPES_TOKEN-const.html", + "docType": "const" + }, + + { + "title": "DOCUMENT", + "path": "core/DOCUMENT-const.html", + "docType": "const" + }, + + { + "title": "DatePipe", + "path": "core/DatePipe-class.html", + "docType": "class" + }, + + { + "title": "DecimalPipe", + "path": "core/DecimalPipe-class.html", + "docType": "class" + }, + + { + "title": "DefaultValueAccessor", + "path": "core/DefaultValueAccessor-directive.html", + "docType": "directive" + }, + + { + "title": "Dependency", + "path": "core/Dependency-class.html", + "docType": "class" + }, + + { + "title": "DependencyMetadata", + "path": "core/DependencyMetadata-class.html", + "docType": "class" + }, + + { + "title": "Directive", + "path": "core/Directive-var.html", + "docType": "var" + }, + + { + "title": "DirectiveDecorator", + "path": "core/DirectiveDecorator-interface.html", + "docType": "interface" + }, + + { + "title": "DirectiveFactory", + "path": "core/DirectiveFactory-interface.html", + "docType": "interface" + }, + + { + "title": "DirectiveMetadata", + "path": "core/DirectiveMetadata-class.html", + "docType": "class" + }, + + { + "title": "DirectiveResolver", + "path": "core/DirectiveResolver-class.html", + "docType": "class" + }, + + { + "title": "DoCheck", + "path": "core/DoCheck-interface.html", + "docType": "interface" + }, + + { + "title": "ELEMENT_PROBE_BINDINGS", + "path": "core/ELEMENT_PROBE_BINDINGS-const.html", + "docType": "const" + }, + + { + "title": "ELEMENT_PROBE_PROVIDERS", + "path": "core/ELEMENT_PROBE_PROVIDERS-const.html", + "docType": "const" + }, + + { + "title": "ErrorHandlingFn", + "path": "core/ErrorHandlingFn-interface.html", + "docType": "interface" + }, + + { + "title": "EventEmitter", + "path": "core/EventEmitter-class.html", + "docType": "class" + }, + + { + "title": "ExpressionChangedAfterItHasBeenCheckedException", + "path": "core/ExpressionChangedAfterItHasBeenCheckedException-class.html", + "docType": "class" + }, + + { + "title": "FORM_BINDINGS", + "path": "core/FORM_BINDINGS-const.html", + "docType": "const" + }, + + { + "title": "FORM_DIRECTIVES", + "path": "core/FORM_DIRECTIVES-const.html", + "docType": "const" + }, + + { + "title": "FORM_PROVIDERS", + "path": "core/FORM_PROVIDERS-const.html", + "docType": "const" + }, + + { + "title": "Form", + "path": "core/Form-interface.html", + "docType": "interface" + }, + + { + "title": "FormBuilder", + "path": "core/FormBuilder-class.html", + "docType": "class" + }, + + { + "title": "ForwardRefFn", + "path": "core/ForwardRefFn-interface.html", + "docType": "interface" + }, + + { + "title": "Host", + "path": "core/Host-var.html", + "docType": "var" + }, + + { + "title": "HostBinding", + "path": "core/HostBinding-var.html", + "docType": "var" + }, + + { + "title": "HostBindingFactory", + "path": "core/HostBindingFactory-interface.html", + "docType": "interface" + }, + + { + "title": "HostBindingMetadata", + "path": "core/HostBindingMetadata-class.html", + "docType": "class" + }, + + { + "title": "HostFactory", + "path": "core/HostFactory-interface.html", + "docType": "interface" + }, + + { + "title": "HostListener", + "path": "core/HostListener-var.html", + "docType": "var" + }, + + { + "title": "HostListenerFactory", + "path": "core/HostListenerFactory-interface.html", + "docType": "interface" + }, + + { + "title": "HostListenerMetadata", + "path": "core/HostListenerMetadata-class.html", + "docType": "class" + }, + + { + "title": "HostMetadata", + "path": "core/HostMetadata-class.html", + "docType": "class" + }, + + { + "title": "HostViewRef", + "path": "core/HostViewRef-interface.html", + "docType": "interface" + }, + + { + "title": "Inject", + "path": "core/Inject-var.html", + "docType": "var" + }, + + { + "title": "InjectFactory", + "path": "core/InjectFactory-interface.html", + "docType": "interface" + }, + + { + "title": "InjectMetadata", + "path": "core/InjectMetadata-class.html", + "docType": "class" + }, + + { + "title": "Injectable", + "path": "core/Injectable-var.html", + "docType": "var" + }, + + { + "title": "InjectableFactory", + "path": "core/InjectableFactory-interface.html", + "docType": "interface" + }, + + { + "title": "InjectableMetadata", + "path": "core/InjectableMetadata-class.html", + "docType": "class" + }, + + { + "title": "Injector", + "path": "core/Injector-class.html", + "docType": "class" + }, + + { + "title": "Input", + "path": "core/Input-var.html", + "docType": "var" + }, + + { + "title": "InputFactory", + "path": "core/InputFactory-interface.html", + "docType": "interface" + }, + + { + "title": "InputMetadata", + "path": "core/InputMetadata-class.html", + "docType": "class" + }, + + { + "title": "InstantiationError", + "path": "core/InstantiationError-class.html", + "docType": "class" + }, + + { + "title": "InvalidProviderError", + "path": "core/InvalidProviderError-class.html", + "docType": "class" + }, + + { + "title": "IterableDiffer", + "path": "core/IterableDiffer-interface.html", + "docType": "interface" + }, + + { + "title": "IterableDifferFactory", + "path": "core/IterableDifferFactory-interface.html", + "docType": "interface" + }, + + { + "title": "IterableDiffers", + "path": "core/IterableDiffers-class.html", + "docType": "class" + }, + + { + "title": "JsonPipe", + "path": "core/JsonPipe-class.html", + "docType": "class" + }, + + { + "title": "Key", + "path": "core/Key-class.html", + "docType": "class" + }, + + { + "title": "KeyValueDiffer", + "path": "core/KeyValueDiffer-interface.html", + "docType": "interface" + }, + + { + "title": "KeyValueDifferFactory", + "path": "core/KeyValueDifferFactory-interface.html", + "docType": "interface" + }, + + { + "title": "KeyValueDiffers", + "path": "core/KeyValueDiffers-class.html", + "docType": "class" + }, + + { + "title": "LowerCasePipe", + "path": "core/LowerCasePipe-class.html", + "docType": "class" + }, + + { + "title": "MaxLengthValidator", + "path": "core/MaxLengthValidator-directive.html", + "docType": "directive" + }, + + { + "title": "MinLengthValidator", + "path": "core/MinLengthValidator-directive.html", + "docType": "directive" + }, + + { + "title": "NG_ASYNC_VALIDATORS", + "path": "core/NG_ASYNC_VALIDATORS-const.html", + "docType": "const" + }, + + { + "title": "NG_VALIDATORS", + "path": "core/NG_VALIDATORS-const.html", + "docType": "const" + }, + + { + "title": "NgClass", + "path": "core/NgClass-directive.html", + "docType": "directive" + }, + + { + "title": "NgControlGroup", + "path": "core/NgControlGroup-directive.html", + "docType": "directive" + }, + + { + "title": "NgControlName", + "path": "core/NgControlName-directive.html", + "docType": "directive" + }, + + { + "title": "NgControlStatus", + "path": "core/NgControlStatus-directive.html", + "docType": "directive" + }, + + { + "title": "NgFor", + "path": "core/NgFor-directive.html", + "docType": "directive" + }, + + { + "title": "NgForm", + "path": "core/NgForm-directive.html", + "docType": "directive" + }, + + { + "title": "NgFormControl", + "path": "core/NgFormControl-directive.html", + "docType": "directive" + }, + + { + "title": "NgFormModel", + "path": "core/NgFormModel-directive.html", + "docType": "directive" + }, + + { + "title": "NgIf", + "path": "core/NgIf-directive.html", + "docType": "directive" + }, + + { + "title": "NgModel", + "path": "core/NgModel-directive.html", + "docType": "directive" + }, + + { + "title": "NgSelectOption", + "path": "core/NgSelectOption-directive.html", + "docType": "directive" + }, + + { + "title": "NgStyle", + "path": "core/NgStyle-directive.html", + "docType": "directive" + }, + + { + "title": "NgSwitch", + "path": "core/NgSwitch-directive.html", + "docType": "directive" + }, + + { + "title": "NgSwitchDefault", + "path": "core/NgSwitchDefault-directive.html", + "docType": "directive" + }, + + { + "title": "NgSwitchWhen", + "path": "core/NgSwitchWhen-directive.html", + "docType": "directive" + }, + + { + "title": "NgZone", + "path": "core/NgZone-class.html", + "docType": "class" + }, + + { + "title": "NgZoneError", + "path": "core/NgZoneError-class.html", + "docType": "class" + }, + + { + "title": "NoAnnotationError", + "path": "core/NoAnnotationError-class.html", + "docType": "class" + }, + + { + "title": "NoProviderError", + "path": "core/NoProviderError-class.html", + "docType": "class" + }, + + { + "title": "NumberPipe", + "path": "core/NumberPipe-class.html", + "docType": "class" + }, + + { + "title": "Observable", + "path": "core/Observable-class.html", + "docType": "class" + }, + + { + "title": "OnChanges", + "path": "core/OnChanges-interface.html", + "docType": "interface" + }, + + { + "title": "OnDestroy", + "path": "core/OnDestroy-interface.html", + "docType": "interface" + }, + + { + "title": "OnInit", + "path": "core/OnInit-interface.html", + "docType": "interface" + }, + + { + "title": "OpaqueToken", + "path": "core/OpaqueToken-class.html", + "docType": "class" + }, + + { + "title": "Optional", + "path": "core/Optional-var.html", + "docType": "var" + }, + + { + "title": "OptionalFactory", + "path": "core/OptionalFactory-interface.html", + "docType": "interface" + }, + + { + "title": "OptionalMetadata", + "path": "core/OptionalMetadata-class.html", + "docType": "class" + }, + + { + "title": "OutOfBoundsError", + "path": "core/OutOfBoundsError-class.html", + "docType": "class" + }, + + { + "title": "Output", + "path": "core/Output-var.html", + "docType": "var" + }, + + { + "title": "OutputFactory", + "path": "core/OutputFactory-interface.html", + "docType": "interface" + }, + + { + "title": "OutputMetadata", + "path": "core/OutputMetadata-class.html", + "docType": "class" + }, + + { + "title": "PercentPipe", + "path": "core/PercentPipe-class.html", + "docType": "class" + }, + + { + "title": "Pipe", + "path": "core/Pipe-var.html", + "docType": "var" + }, + + { + "title": "PipeFactory", + "path": "core/PipeFactory-interface.html", + "docType": "interface" + }, + + { + "title": "PipeMetadata", + "path": "core/PipeMetadata-class.html", + "docType": "class" + }, + + { + "title": "PipeOnDestroy", + "path": "core/PipeOnDestroy-interface.html", + "docType": "interface" + }, + + { + "title": "PipeTransform", + "path": "core/PipeTransform-interface.html", + "docType": "interface" + }, + + { + "title": "Predicate", + "path": "core/Predicate-interface.html", + "docType": "interface" + }, + + { + "title": "Provider", + "path": "core/Provider-class.html", + "docType": "class" + }, + + { + "title": "ProviderBuilder", + "path": "core/ProviderBuilder-class.html", + "docType": "class" + }, + + { + "title": "Query", + "path": "core/Query-var.html", + "docType": "var" + }, + + { + "title": "QueryFactory", + "path": "core/QueryFactory-interface.html", + "docType": "interface" + }, + + { + "title": "QueryList", + "path": "core/QueryList-class.html", + "docType": "class" + }, + + { + "title": "QueryMetadata", + "path": "core/QueryMetadata-class.html", + "docType": "class" + }, + + { + "title": "RenderBeginCmd", + "path": "core/RenderBeginCmd-interface.html", + "docType": "interface" + }, + + { + "title": "RenderBeginComponentCmd", + "path": "core/RenderBeginComponentCmd-interface.html", + "docType": "interface" + }, + + { + "title": "RenderBeginElementCmd", + "path": "core/RenderBeginElementCmd-interface.html", + "docType": "interface" + }, + + { + "title": "RenderCommandVisitor", + "path": "core/RenderCommandVisitor-interface.html", + "docType": "interface" + }, + + { + "title": "RenderElementRef", + "path": "core/RenderElementRef-interface.html", + "docType": "interface" + }, + + { + "title": "RenderEmbeddedTemplateCmd", + "path": "core/RenderEmbeddedTemplateCmd-interface.html", + "docType": "interface" + }, + + { + "title": "RenderEventDispatcher", + "path": "core/RenderEventDispatcher-interface.html", + "docType": "interface" + }, + + { + "title": "RenderFragmentRef", + "path": "core/RenderFragmentRef-class.html", + "docType": "class" + }, + + { + "title": "RenderNgContentCmd", + "path": "core/RenderNgContentCmd-interface.html", + "docType": "interface" + }, + + { + "title": "RenderProtoViewRef", + "path": "core/RenderProtoViewRef-class.html", + "docType": "class" + }, + + { + "title": "RenderTemplateCmd", + "path": "core/RenderTemplateCmd-interface.html", + "docType": "interface" + }, + + { + "title": "RenderTextCmd", + "path": "core/RenderTextCmd-interface.html", + "docType": "interface" + }, + + { + "title": "RenderViewRef", + "path": "core/RenderViewRef-class.html", + "docType": "class" + }, + + { + "title": "RenderViewWithFragments", + "path": "core/RenderViewWithFragments-class.html", + "docType": "class" + }, + + { + "title": "RequiredValidator", + "path": "core/RequiredValidator-directive.html", + "docType": "directive" + }, + + { + "title": "ResolvedBinding", + "path": "core/ResolvedBinding-interface.html", + "docType": "interface" + }, + + { + "title": "ResolvedFactory", + "path": "core/ResolvedFactory-class.html", + "docType": "class" + }, + + { + "title": "ResolvedProvider", + "path": "core/ResolvedProvider-interface.html", + "docType": "interface" + }, + + { + "title": "Scope", + "path": "core/Scope-class.html", + "docType": "class" + }, + + { + "title": "SelectControlValueAccessor", + "path": "core/SelectControlValueAccessor-directive.html", + "docType": "directive" + }, + + { + "title": "Self", + "path": "core/Self-var.html", + "docType": "var" + }, + + { + "title": "SelfFactory", + "path": "core/SelfFactory-interface.html", + "docType": "interface" + }, + + { + "title": "SelfMetadata", + "path": "core/SelfMetadata-class.html", + "docType": "class" + }, + + { + "title": "SimpleChange", + "path": "core/SimpleChange-class.html", + "docType": "class" + }, + + { + "title": "SkipSelf", + "path": "core/SkipSelf-var.html", + "docType": "var" + }, + + { + "title": "SkipSelfFactory", + "path": "core/SkipSelfFactory-interface.html", + "docType": "interface" + }, + + { + "title": "SkipSelfMetadata", + "path": "core/SkipSelfMetadata-class.html", + "docType": "class" + }, + + { + "title": "SlicePipe", + "path": "core/SlicePipe-class.html", + "docType": "class" + }, + + { + "title": "Title", + "path": "core/Title-class.html", + "docType": "class" + }, + + { + "title": "Type", + "path": "core/Type-interface.html", + "docType": "interface" + }, + + { + "title": "TypeDecorator", + "path": "core/TypeDecorator-interface.html", + "docType": "interface" + }, + + { + "title": "TypeLiteral", + "path": "core/TypeLiteral-class.html", + "docType": "class" + }, + + { + "title": "UpperCasePipe", + "path": "core/UpperCasePipe-class.html", + "docType": "class" + }, + + { + "title": "UrlResolver", + "path": "core/UrlResolver-class.html", + "docType": "class" + }, + + { + "title": "Validator", + "path": "core/Validator-interface.html", + "docType": "interface" + }, + + { + "title": "Validators", + "path": "core/Validators-class.html", + "docType": "class" + }, + + { + "title": "View", + "path": "core/View-var.html", + "docType": "var" + }, + + { + "title": "ViewChild", + "path": "core/ViewChild-var.html", + "docType": "var" + }, + + { + "title": "ViewChildFactory", + "path": "core/ViewChildFactory-interface.html", + "docType": "interface" + }, + + { + "title": "ViewChildMetadata", + "path": "core/ViewChildMetadata-class.html", + "docType": "class" + }, + + { + "title": "ViewChildren", + "path": "core/ViewChildren-var.html", + "docType": "var" + }, + + { + "title": "ViewChildrenFactory", + "path": "core/ViewChildrenFactory-interface.html", + "docType": "interface" + }, + + { + "title": "ViewChildrenMetadata", + "path": "core/ViewChildrenMetadata-class.html", + "docType": "class" + }, + + { + "title": "ViewDecorator", + "path": "core/ViewDecorator-interface.html", + "docType": "interface" + }, + + { + "title": "ViewEncapsulation", + "path": "core/ViewEncapsulation-enum.html", + "docType": "enum" + }, + + { + "title": "ViewFactory", + "path": "core/ViewFactory-interface.html", + "docType": "interface" + }, + + { + "title": "ViewMetadata", + "path": "core/ViewMetadata-class.html", + "docType": "class" + }, + + { + "title": "ViewQuery", + "path": "core/ViewQuery-var.html", + "docType": "var" + }, + + { + "title": "ViewQueryMetadata", + "path": "core/ViewQueryMetadata-class.html", + "docType": "class" + }, + + { + "title": "ViewResolver", + "path": "core/ViewResolver-class.html", + "docType": "class" + }, + + { + "title": "WrappedException", + "path": "core/WrappedException-class.html", + "docType": "class" + }, + + { + "title": "WrappedValue", + "path": "core/WrappedValue-class.html", + "docType": "class" + }, + + { + "title": "ZeroArgFunction", + "path": "core/ZeroArgFunction-interface.html", + "docType": "interface" + }, + + { + "title": "applicationCommonProviders", + "path": "core/applicationCommonProviders-function.html", + "docType": "function" + }, + + { + "title": "asNativeElements", + "path": "core/asNativeElements-function.html", + "docType": "function" + }, + + { + "title": "bind", + "path": "core/bind-function.html", + "docType": "function" + }, + + { + "title": "bootstrap", + "path": "core/bootstrap-function.html", + "docType": "function" + }, + + { + "title": "createNgZone", + "path": "core/createNgZone-function.html", + "docType": "function" + }, + + { + "title": "forwardRef", + "path": "core/forwardRef-function.html", + "docType": "function" + }, + + { + "title": "inspectElement", + "path": "core/inspectElement-function.html", + "docType": "function" + }, + + { + "title": "inspectNativeElement", + "path": "core/inspectNativeElement-function.html", + "docType": "function" + }, + + { + "title": "platform", + "path": "core/platform-function.html", + "docType": "function" + }, + + { + "title": "platformCommon", + "path": "core/platformCommon-function.html", + "docType": "function" + }, + + { + "title": "platformProviders", + "path": "core/platformProviders-function.html", + "docType": "function" + }, + + { + "title": "provide", + "path": "core/provide-function.html", + "docType": "function" + }, + + { + "title": "resolveForwardRef", + "path": "core/resolveForwardRef-function.html", + "docType": "function" + }, + + { + "title": "workaround_empty_observable_list_diff", + "path": "core/workaround_empty_observable_list_diff-var.html", + "docType": "var" + } + ], + + "angular2/http" : [ + { + "title": "BaseRequestOptions", + "path": "http/BaseRequestOptions-class.html", + "docType": "class" + }, + + { + "title": "BaseResponseOptions", + "path": "http/BaseResponseOptions-class.html", + "docType": "class" + }, + + { + "title": "BrowserXhr", + "path": "http/BrowserXhr-class.html", + "docType": "class" + }, + + { + "title": "HTTP_BINDINGS", + "path": "http/HTTP_BINDINGS-const.html", + "docType": "const" + }, + + { + "title": "HTTP_PROVIDERS", + "path": "http/HTTP_PROVIDERS-const.html", + "docType": "const" + }, + + { + "title": "Headers", + "path": "http/Headers-class.html", + "docType": "class" + }, + + { + "title": "Http", + "path": "http/Http-class.html", + "docType": "class" + }, + + { + "title": "JSONP_PROVIDERS", + "path": "http/JSONP_PROVIDERS-const.html", + "docType": "const" + }, + + { + "title": "JSON_BINDINGS", + "path": "http/JSON_BINDINGS-const.html", + "docType": "const" + }, + + { + "title": "Jsonp", + "path": "http/Jsonp-class.html", + "docType": "class" + }, + + { + "title": "MockBackend", + "path": "http/MockBackend-class.html", + "docType": "class" + }, + + { + "title": "MockConnection", + "path": "http/MockConnection-class.html", + "docType": "class" + }, + + { + "title": "ReadyStates", + "path": "http/ReadyStates-enum.html", + "docType": "enum" + }, + + { + "title": "Request", + "path": "http/Request-class.html", + "docType": "class" + }, + + { + "title": "RequestMethods", + "path": "http/RequestMethods-enum.html", + "docType": "enum" + }, + + { + "title": "RequestOptions", + "path": "http/RequestOptions-class.html", + "docType": "class" + }, + + { + "title": "RequestOptionsArgs", + "path": "http/RequestOptionsArgs-interface.html", + "docType": "interface" + }, + + { + "title": "Response", + "path": "http/Response-class.html", + "docType": "class" + }, + + { + "title": "ResponseOptions", + "path": "http/ResponseOptions-class.html", + "docType": "class" + }, + + { + "title": "ResponseOptionsArgs", + "path": "http/ResponseOptionsArgs-type-alias.html", + "docType": "type-alias" + }, + + { + "title": "ResponseTypes", + "path": "http/ResponseTypes-enum.html", + "docType": "enum" + }, + + { + "title": "URLSearchParams", + "path": "http/URLSearchParams-class.html", + "docType": "class" + }, + + { + "title": "XHRBackend", + "path": "http/XHRBackend-class.html", + "docType": "class" + }, + + { + "title": "XHRConnection", + "path": "http/XHRConnection-class.html", + "docType": "class" + } + ], + + "angular2/router" : [ + { + "title": "APP_BASE_HREF", + "path": "router/APP_BASE_HREF-const.html", + "docType": "const" + }, + + { + "title": "AsyncRoute", + "path": "router/AsyncRoute-class.html", + "docType": "class" + }, + + { + "title": "AuxRoute", + "path": "router/AuxRoute-class.html", + "docType": "class" + }, + + { + "title": "CanActivate", + "path": "router/CanActivate-var.html", + "docType": "var" + }, + + { + "title": "CanDeactivate", + "path": "router/CanDeactivate-interface.html", + "docType": "interface" + }, + + { + "title": "CanReuse", + "path": "router/CanReuse-interface.html", + "docType": "interface" + }, + + { + "title": "ComponentDefinition", + "path": "router/ComponentDefinition-interface.html", + "docType": "interface" + }, + + { + "title": "HashLocationStrategy", + "path": "router/HashLocationStrategy-class.html", + "docType": "class" + }, + + { + "title": "Instruction", + "path": "router/Instruction-class.html", + "docType": "class" + }, + + { + "title": "Location", + "path": "router/Location-class.html", + "docType": "class" + }, + + { + "title": "OnActivate", + "path": "router/OnActivate-interface.html", + "docType": "interface" + }, + + { + "title": "OnDeactivate", + "path": "router/OnDeactivate-interface.html", + "docType": "interface" + }, + + { + "title": "OnReuse", + "path": "router/OnReuse-interface.html", + "docType": "interface" + }, + + { + "title": "OpaqueToken", + "path": "router/OpaqueToken-class.html", + "docType": "class" + }, + + { + "title": "PathLocationStrategy", + "path": "router/PathLocationStrategy-class.html", + "docType": "class" + }, + + { + "title": "ROUTER_BINDINGS", + "path": "router/ROUTER_BINDINGS-const.html", + "docType": "const" + }, + + { + "title": "ROUTER_DIRECTIVES", + "path": "router/ROUTER_DIRECTIVES-const.html", + "docType": "const" + }, + + { + "title": "ROUTER_PRIMARY_COMPONENT", + "path": "router/ROUTER_PRIMARY_COMPONENT-const.html", + "docType": "const" + }, + + { + "title": "ROUTER_PROVIDERS", + "path": "router/ROUTER_PROVIDERS-const.html", + "docType": "const" + }, + + { + "title": "Redirect", + "path": "router/Redirect-class.html", + "docType": "class" + }, + + { + "title": "Route", + "path": "router/Route-class.html", + "docType": "class" + }, + + { + "title": "RouteConfig", + "path": "router/RouteConfig-var.html", + "docType": "var" + }, + + { + "title": "RouteData", + "path": "router/RouteData-class.html", + "docType": "class" + }, + + { + "title": "RouteDefinition", + "path": "router/RouteDefinition-interface.html", + "docType": "interface" + }, + + { + "title": "RouteParams", + "path": "router/RouteParams-class.html", + "docType": "class" + }, + + { + "title": "RouteRegistry", + "path": "router/RouteRegistry-class.html", + "docType": "class" + }, + + { + "title": "Router", + "path": "router/Router-class.html", + "docType": "class" + }, + + { + "title": "RouterLink", + "path": "router/RouterLink-directive.html", + "docType": "directive" + }, + + { + "title": "RouterOutlet", + "path": "router/RouterOutlet-directive.html", + "docType": "directive" + } + ], + + "angular2/test" : [ + { + "title": "AnyTestFn", + "path": "test/AnyTestFn-type-alias.html", + "docType": "type-alias" + }, + + { + "title": "AsyncTestFn", + "path": "test/AsyncTestFn-type-alias.html", + "docType": "type-alias" + }, + + { + "title": "FunctionWithParamTokens", + "path": "test/FunctionWithParamTokens-class.html", + "docType": "class" + }, + + { + "title": "NgMatchers", + "path": "test/NgMatchers-interface.html", + "docType": "interface" + }, + + { + "title": "SyncTestFn", + "path": "test/SyncTestFn-type-alias.html", + "docType": "type-alias" + }, + + { + "title": "TestComponentBuilder", + "path": "test/TestComponentBuilder-class.html", + "docType": "class" + }, + + { + "title": "afterEach", + "path": "test/afterEach-var.html", + "docType": "var" + }, + + { + "title": "beforeEach", + "path": "test/beforeEach-function.html", + "docType": "function" + }, + + { + "title": "beforeEachProviders", + "path": "test/beforeEachProviders-function.html", + "docType": "function" + }, + + { + "title": "clearPendingTimers", + "path": "test/clearPendingTimers-function.html", + "docType": "function" + }, + + { + "title": "createTestInjector", + "path": "test/createTestInjector-function.html", + "docType": "function" + }, + + { + "title": "ddescribe", + "path": "test/ddescribe-var.html", + "docType": "var" + }, + + { + "title": "describe", + "path": "test/describe-var.html", + "docType": "var" + }, + + { + "title": "expect", + "path": "test/expect-var.html", + "docType": "var" + }, + + { + "title": "fakeAsync", + "path": "test/fakeAsync-function.html", + "docType": "function" + }, + + { + "title": "fdescribe", + "path": "test/fdescribe-var.html", + "docType": "var" + }, + + { + "title": "fit", + "path": "test/fit-function.html", + "docType": "function" + }, + + { + "title": "flushMicrotasks", + "path": "test/flushMicrotasks-function.html", + "docType": "function" + }, + + { + "title": "iit", + "path": "test/iit-function.html", + "docType": "function" + }, + + { + "title": "inject", + "path": "test/inject-function.html", + "docType": "function" + }, + + { + "title": "injectAsync", + "path": "test/injectAsync-function.html", + "docType": "function" + }, + + { + "title": "it", + "path": "test/it-function.html", + "docType": "function" + }, + + { + "title": "tick", + "path": "test/tick-function.html", + "docType": "function" + }, + + { + "title": "xdescribe", + "path": "test/xdescribe-var.html", + "docType": "var" + }, + + { + "title": "xit", + "path": "test/xit-function.html", + "docType": "function" + } + ] +} diff --git a/public/resources/js/controllers/app-controller.js b/public/resources/js/controllers/app-controller.js index 49a0d0c726..579a417b7b 100644 --- a/public/resources/js/controllers/app-controller.js +++ b/public/resources/js/controllers/app-controller.js @@ -24,7 +24,12 @@ angularIO.directive('bold', function ($timeout) { } }); -angularIO.controller('AppCtrl', [ '$scope', '$mdDialog', '$timeout', function ($scope, $mdDialog, $timeout) { +angularIO.controller('AppCtrl', [ '$scope', '$mdDialog', '$timeout', '$http', function ($scope, $mdDialog, $timeout, $http) { + + $http.get('/resources/js/app-data.json').then(function(response) { + $scope.apiList = response.data; + }); + $scope.showDocsNav = false; $scope.showMainNav = false; $scope.showMenu = false; @@ -50,1663 +55,15 @@ angularIO.controller('AppCtrl', [ '$scope', '$mdDialog', '$timeout', function ($ }; $scope.apiSections = [ - { name: 'core', title: 'Core' }, - { name: 'http', title: 'HTTP' }, - { name: 'lifecycle_hooks', title: 'Lifecycle Hooks' }, - { name: 'router', title: 'Router' }, - { name: 'test', title: 'Test' } + { name: 'angular2/core', title: 'Core' }, + { name: 'angular2/http', title: 'HTTP' }, + { name: 'angular2/lifecycle_hooks', title: 'Lifecycle Hooks' }, + { name: 'angular2/router', title: 'Router' }, + { name: 'angular2/test', title: 'Test' } ]; $scope.apiType = ''; $scope.apiFilter = ''; - $scope.apiList = {}; - $scope.apiList.core = [ - { - "title": "APP_COMPONENT", - "varType": "OpaqueToken", - "originalModule": "angular2/src/core/application_tokens", - "docType": "const" - }, - { - "title": "APP_ID", - "varType": "OpaqueToken", - "originalModule": "angular2/src/core/render/dom/dom_tokens", - "docType": "const" - }, - { - "title": "AbstractBindingError", - "originalModule": "angular2/src/core/di/exceptions", - "docType": "class" - }, - { - "title": "AbstractControl", - "originalModule": "angular2/src/core/forms/model", - "docType": "class" - }, - { - "title": "AbstractControlDirective", - "originalModule": "angular2/src/core/forms/directives/abstract_control_directive", - "docType": "class" - }, - { - "title": "AbstractProviderError", - "originalModule": "angular2/src/core/di/exceptions", - "docType": "class" - }, - { - "title": "AfterContentChecked", - "originalModule": "angular2/src/core/compiler/interfaces", - "docType": "interface" - }, - { - "title": "AfterContentInit", - "originalModule": "angular2/src/core/compiler/interfaces", - "docType": "interface" - }, - { - "title": "AfterViewChecked", - "originalModule": "angular2/src/core/compiler/interfaces", - "docType": "interface" - }, - { - "title": "AfterViewInit", - "originalModule": "angular2/src/core/compiler/interfaces", - "docType": "interface" - }, - { - "title": "AppRootUrl", - "originalModule": "angular2/src/core/services/app_root_url", - "docType": "class" - }, - { - "title": "AppViewManager", - "originalModule": "angular2/src/core/compiler/view_manager", - "docType": "class" - }, - { - "title": "ApplicationRef", - "originalModule": "angular2/src/core/application_ref", - "docType": "class" - }, - { - "title": "AsyncPipe", - "originalModule": "angular2/src/core/pipes/async_pipe", - "docType": "class" - }, - { - "title": "Attribute", - "varType": "AttributeFactory", - "originalModule": "angular2/src/core/metadata", - "docType": "var" - }, - { - "title": "AttributeFactory", - "originalModule": "angular2/src/core/metadata", - "docType": "interface" - }, - { - "title": "AttributeMetadata", - "originalModule": "angular2/src/core/metadata/di", - "docType": "class" - }, - { - "title": "Binding", - "originalModule": "angular2/src/core/di/binding", - "docType": "class" - }, - { - "title": "BindingBuilder", - "originalModule": "angular2/src/core/di/binding", - "docType": "class" - }, - { - "title": "By", - "originalModule": "angular2/src/core/debug/debug_element", - "docType": "class" - }, - { - "title": "CORE_DIRECTIVES", - "originalModule": "angular2/src/core/directives", - "docType": "const" - }, - { - "title": "ChangeDetectionError", - "originalModule": "angular2/src/core/change_detection/exceptions", - "docType": "class" - }, - { - "title": "ChangeDetectionStrategy", - "originalModule": "angular2/src/core/change_detection/constants", - "docType": "enum" - }, - { - "title": "ChangeDetectorRef", - "originalModule": "angular2/src/core/change_detection/change_detector_ref", - "docType": "interface" - }, - { - "title": "CheckboxControlValueAccessor", - "originalModule": "angular2/src/core/forms/directives/checkbox_value_accessor", - "docType": "directive" - }, - { - "title": "Class", - "originalModule": "angular2/src/core/util/decorators", - "docType": "function" - }, - { - "title": "ClassDefinition", - "originalModule": "angular2/src/core/util/decorators", - "docType": "interface" - }, - { - "title": "Compiler", - "originalModule": "angular2/src/core/compiler/compiler", - "docType": "interface" - }, - { - "title": "Component", - "varType": "ComponentFactory", - "originalModule": "angular2/src/core/metadata", - "docType": "var" - }, - { - "title": "ComponentDecorator", - "originalModule": "angular2/src/core/metadata", - "docType": "interface" - }, - { - "title": "ComponentFactory", - "originalModule": "angular2/src/core/metadata", - "docType": "interface" - }, - { - "title": "ComponentMetadata", - "originalModule": "angular2/src/core/metadata/directives", - "docType": "class" - }, - { - "title": "ComponentRef", - "originalModule": "angular2/src/core/compiler/dynamic_component_loader", - "docType": "interface" - }, - { - "title": "ContentChild", - "originalModule": "angular2/src/core/metadata", - "docType": "var" - }, - { - "title": "ContentChildFactory", - "originalModule": "angular2/src/core/metadata", - "docType": "interface" - }, - { - "title": "ContentChildMetadata", - "originalModule": "angular2/src/core/metadata", - "docType": "class" - }, - { - "title": "ContentChildren", - "originalModule": "angular2/src/core/metadata", - "docType": "var" - }, - { - "title": "ContentChildrenFactory", - "originalModule": "angular2/src/core/metadata", - "docType": "interface" - }, - { - "title": "ContentChildrenMetadata", - "originalModule": "angular2/src/core/metadata", - "docType": "class" - }, - { - "title": "Control", - "originalModule": "angular2/src/core/forms/model", - "docType": "class" - }, - { - "title": "ControlArray", - "originalModule": "angular2/src/core/forms/model", - "docType": "class" - }, - { - "title": "ControlContainer", - "originalModule": "angular2/src/core/forms/directives/control_container", - "docType": "class" - }, - { - "title": "ControlGroup", - "originalModule": "angular2/src/core/forms/model", - "docType": "class" - }, - { - "title": "ControlValueAccessor", - "originalModule": "angular2/src/core/forms/directives/control_value_accessor", - "docType": "interface" - }, - { - "title": "CurrencyPipe", - "originalModule": "angular2/src/core/pipes/number_pipe", - "docType": "class" - }, - { - "title": "CyclicDependencyError", - "originalModule": "angular2/src/core/di/exceptions", - "docType": "class" - }, - { - "title": "DEFAULT_PIPES", - "varType": "Binding", - "originalModule": "angular2/src/core/pipes/default_pipes", - "docType": "const" - }, - { - "title": "DEFAULT_PIPES_TOKEN", - "varType": "OpaqueToken", - "originalModule": "angular2/src/core/pipes/default_pipes", - "docType": "const" - }, - { - "title": "DOCUMENT", - "varType": "OpaqueToken", - "originalModule": "angular2/src/core/render/dom/dom_tokens", - "docType": "const" - }, - { - "title": "DatePipe", - "originalModule": "angular2/src/core/pipes/date_pipe", - "docType": "class" - }, - { - "title": "DebugElement", - "originalModule": "angular2/src/core/debug/debug_element", - "docType": "interface" - }, - { - "title": "DecimalPipe", - "originalModule": "angular2/src/core/pipes/number_pipe", - "docType": "class" - }, - { - "title": "DefaultValidators", - "originalModule": "angular2/src/core/forms/directives/validators", - "docType": "class" - }, - { - "title": "DefaultValueAccessor", - "originalModule": "angular2/src/core/forms/directives/default_value_accessor", - "docType": "directive" - }, - { - "title": "Dependency", - "originalModule": "angular2/src/core/di/binding", - "docType": "class" - }, - { - "title": "DependencyMetadata", - "originalModule": "angular2/src/core/di/metadata", - "docType": "class" - }, - { - "title": "Directive", - "varType": "DirectiveFactory", - "originalModule": "angular2/src/core/metadata", - "docType": "var" - }, - { - "title": "DirectiveDecorator", - "originalModule": "angular2/src/core/metadata", - "docType": "interface" - }, - { - "title": "DirectiveFactory", - "originalModule": "angular2/src/core/metadata", - "docType": "interface" - }, - { - "title": "DirectiveMetadata", - "originalModule": "angular2/src/core/metadata/directives", - "docType": "class" - }, - { - "title": "DirectiveResolver", - "originalModule": "angular2/src/core/compiler/directive_resolver", - "docType": "class" - }, - { - "title": "DoCheck", - "originalModule": "angular2/src/core/compiler/interfaces", - "docType": "interface" - }, - { - "title": "DynamicComponentLoader", - "originalModule": "angular2/src/core/compiler/dynamic_component_loader", - "docType": "class" - }, - { - "title": "ELEMENT_PROBE_BINDINGS", - "originalModule": "angular2/src/core/debug/debug_element_view_listener", - "docType": "const" - }, - { - "title": "ELEMENT_PROBE_PROVIDERS", - "originalModule": "angular2/src/core/debug/debug_element_view_listener", - "docType": "const" - }, - { - "title": "ElementRef", - "originalModule": "angular2/src/core/compiler/element_ref", - "docType": "class" - }, - { - "title": "EventEmitter", - "originalModule": "angular2/src/core/facade/async", - "docType": "class" - }, - { - "title": "ExpressionChangedAfterItHasBeenCheckedException", - "originalModule": "angular2/src/core/change_detection/exceptions", - "docType": "class" - }, - { - "title": "FORM_BINDINGS", - "originalModule": "angular2/src/core/forms", - "docType": "const" - }, - { - "title": "FORM_DIRECTIVES", - "originalModule": "angular2/src/core/forms/directives", - "docType": "const" - }, - { - "title": "FORM_PROVIDERS", - "originalModule": "angular2/src/core/forms", - "docType": "const" - }, - { - "title": "Form", - "originalModule": "angular2/src/core/forms/directives/form_interface", - "docType": "interface" - }, - { - "title": "FormBuilder", - "originalModule": "angular2/src/core/forms/form_builder", - "docType": "class" - }, - { - "title": "ForwardRefFn", - "originalModule": "angular2/src/core/di/forward_ref", - "docType": "interface" - }, - { - "title": "Host", - "varType": "HostFactory", - "originalModule": "angular2/src/core/di/decorators", - "docType": "var" - }, - { - "title": "HostBinding", - "varType": "HostBindingFactory", - "originalModule": "angular2/src/core/metadata", - "docType": "var" - }, - { - "title": "HostBindingFactory", - "originalModule": "angular2/src/core/metadata", - "docType": "interface" - }, - { - "title": "HostBindingMetadata", - "originalModule": "angular2/src/core/metadata/directives", - "docType": "class" - }, - { - "title": "HostFactory", - "originalModule": "angular2/src/core/di/decorators", - "docType": "interface" - }, - { - "title": "HostListener", - "varType": "HostListenerFactory", - "originalModule": "angular2/src/core/metadata", - "docType": "var" - }, - { - "title": "HostListenerFactory", - "originalModule": "angular2/src/core/metadata", - "docType": "interface" - }, - { - "title": "HostListenerMetadata", - "originalModule": "angular2/src/core/metadata/directives", - "docType": "class" - }, - { - "title": "HostMetadata", - "originalModule": "angular2/src/core/di/metadata", - "docType": "class" - }, - { - "title": "HostViewRef", - "originalModule": "angular2/src/core/compiler/view_ref", - "docType": "interface" - }, - { - "title": "Inject", - "varType": "InjectFactory", - "originalModule": "angular2/src/core/di/decorators", - "docType": "var" - }, - { - "title": "InjectFactory", - "originalModule": "angular2/src/core/di/decorators", - "docType": "interface" - }, - { - "title": "InjectMetadata", - "originalModule": "angular2/src/core/di/metadata", - "docType": "class" - }, - { - "title": "Injectable", - "varType": "InjectableFactory", - "originalModule": "angular2/src/core/di/decorators", - "docType": "var" - }, - { - "title": "InjectableFactory", - "originalModule": "angular2/src/core/di/decorators", - "docType": "interface" - }, - { - "title": "InjectableMetadata", - "originalModule": "angular2/src/core/di/metadata", - "docType": "class" - }, - { - "title": "Injector", - "originalModule": "angular2/src/core/di/injector", - "docType": "class" - }, - { - "title": "Input", - "varType": "InputFactory", - "originalModule": "angular2/src/core/metadata", - "docType": "var" - }, - { - "title": "InputFactory", - "originalModule": "angular2/src/core/metadata", - "docType": "interface" - }, - { - "title": "InputMetadata", - "originalModule": "angular2/src/core/metadata/directives", - "docType": "class" - }, - { - "title": "InstantiationError", - "originalModule": "angular2/src/core/di/exceptions", - "docType": "class" - }, - { - "title": "InvalidBindingError", - "originalModule": "angular2/src/core/di/exceptions", - "docType": "class" - }, - { - "title": "InvalidProviderError", - "originalModule": "angular2/src/core/di/exceptions", - "docType": "class" - }, - { - "title": "IterableDiffer", - "originalModule": "angular2/src/core/change_detection/differs/iterable_differs", - "docType": "interface" - }, - { - "title": "IterableDifferFactory", - "originalModule": "angular2/src/core/change_detection/differs/iterable_differs", - "docType": "interface" - }, - { - "title": "IterableDiffers", - "originalModule": "angular2/src/core/change_detection/differs/iterable_differs", - "docType": "class" - }, - { - "title": "JsonPipe", - "originalModule": "angular2/src/core/pipes/json_pipe", - "docType": "class" - }, - { - "title": "Key", - "originalModule": "angular2/src/core/di/key", - "docType": "class" - }, - { - "title": "KeyValueDiffer", - "originalModule": "angular2/src/core/change_detection/differs/keyvalue_differs", - "docType": "interface" - }, - { - "title": "KeyValueDifferFactory", - "originalModule": "angular2/src/core/change_detection/differs/keyvalue_differs", - "docType": "interface" - }, - { - "title": "KeyValueDiffers", - "originalModule": "angular2/src/core/change_detection/differs/keyvalue_differs", - "docType": "class" - }, - { - "title": "LifeCycle", - "originalModule": "angular2/src/core/life_cycle/life_cycle", - "docType": "class" - }, - { - "title": "LowerCasePipe", - "originalModule": "angular2/src/core/pipes/lowercase_pipe", - "docType": "class" - }, - { - "title": "MaxLengthValidator", - "originalModule": "angular2/src/core/forms/directives/validators", - "docType": "class" - }, - { - "title": "MinLengthValidator", - "originalModule": "angular2/src/core/forms/directives/validators", - "docType": "class" - }, - { - "title": "NG_VALIDATORS", - "varType": "OpaqueToken", - "originalModule": "angular2/src/core/forms/validators", - "docType": "const" - }, - { - "title": "NgClass", - "originalModule": "angular2/src/core/directives/ng_class", - "docType": "directive" - }, - { - "title": "NgControl", - "originalModule": "angular2/src/core/forms/directives/ng_control", - "docType": "class" - }, - { - "title": "NgControlGroup", - "originalModule": "angular2/src/core/forms/directives/ng_control_group", - "docType": "directive" - }, - { - "title": "NgControlName", - "originalModule": "angular2/src/core/forms/directives/ng_control_name", - "docType": "directive" - }, - { - "title": "NgFor", - "originalModule": "angular2/src/core/directives/ng_for", - "docType": "directive" - }, - { - "title": "NgForm", - "originalModule": "angular2/src/core/forms/directives/ng_form", - "docType": "directive" - }, - { - "title": "NgFormControl", - "originalModule": "angular2/src/core/forms/directives/ng_form_control", - "docType": "directive" - }, - { - "title": "NgFormModel", - "originalModule": "angular2/src/core/forms/directives/ng_form_model", - "docType": "directive" - }, - { - "title": "NgIf", - "originalModule": "angular2/src/core/directives/ng_if", - "docType": "directive" - }, - { - "title": "NgModel", - "originalModule": "angular2/src/core/forms/directives/ng_model", - "docType": "directive" - }, - { - "title": "NgSelectOption", - "originalModule": "angular2/src/core/forms/directives/select_control_value_accessor", - "docType": "directive" - }, - { - "title": "NgStyle", - "originalModule": "angular2/src/core/directives/ng_style", - "docType": "directive" - }, - { - "title": "NgSwitch", - "originalModule": "angular2/src/core/directives/ng_switch", - "docType": "directive" - }, - { - "title": "NgSwitchDefault", - "originalModule": "angular2/src/core/directives/ng_switch", - "docType": "directive" - }, - { - "title": "NgSwitchWhen", - "originalModule": "angular2/src/core/directives/ng_switch", - "docType": "directive" - }, - { - "title": "NgZone", - "originalModule": "angular2/src/core/zone/ng_zone", - "docType": "class" - }, - { - "title": "NoAnnotationError", - "originalModule": "angular2/src/core/di/exceptions", - "docType": "class" - }, - { - "title": "NoBindingError", - "originalModule": "angular2/src/core/di/exceptions", - "docType": "class" - }, - { - "title": "NoProviderError", - "originalModule": "angular2/src/core/di/exceptions", - "docType": "class" - }, - { - "title": "NumberPipe", - "originalModule": "angular2/src/core/pipes/number_pipe", - "docType": "class" - }, - { - "title": "Observable", - "originalModule": "angular2/src/core/facade/async", - "docType": "class" - }, - { - "title": "OnChanges", - "originalModule": "angular2/src/core/compiler/interfaces", - "docType": "interface" - }, - { - "title": "OnDestroy", - "originalModule": "angular2/src/core/compiler/interfaces", - "docType": "interface" - }, - { - "title": "OnInit", - "originalModule": "angular2/src/core/compiler/interfaces", - "docType": "interface" - }, - { - "title": "OpaqueToken", - "originalModule": "angular2/src/core/di/opaque_token", - "docType": "class" - }, - { - "title": "Optional", - "varType": "OptionalFactory", - "originalModule": "angular2/src/core/di/decorators", - "docType": "var" - }, - { - "title": "OptionalFactory", - "originalModule": "angular2/src/core/di/decorators", - "docType": "interface" - }, - { - "title": "OptionalMetadata", - "originalModule": "angular2/src/core/di/metadata", - "docType": "class" - }, - { - "title": "OutOfBoundsError", - "originalModule": "angular2/src/core/di/exceptions", - "docType": "class" - }, - { - "title": "Output", - "varType": "OutputFactory", - "originalModule": "angular2/src/core/metadata", - "docType": "var" - }, - { - "title": "OutputFactory", - "originalModule": "angular2/src/core/metadata", - "docType": "interface" - }, - { - "title": "OutputMetadata", - "originalModule": "angular2/src/core/metadata/directives", - "docType": "class" - }, - { - "title": "PercentPipe", - "originalModule": "angular2/src/core/pipes/number_pipe", - "docType": "class" - }, - { - "title": "Pipe", - "varType": "PipeFactory", - "originalModule": "angular2/src/core/metadata", - "docType": "var" - }, - { - "title": "PipeFactory", - "originalModule": "angular2/src/core/metadata", - "docType": "interface" - }, - { - "title": "PipeMetadata", - "originalModule": "angular2/src/core/metadata/directives", - "docType": "class" - }, - { - "title": "PipeOnDestroy", - "originalModule": "angular2/src/core/change_detection/pipe_transform", - "docType": "interface" - }, - { - "title": "PipeTransform", - "originalModule": "angular2/src/core/change_detection/pipe_transform", - "docType": "interface" - }, - { - "title": "PlatformRef", - "originalModule": "angular2/src/core/application_ref", - "docType": "interface" - }, - { - "title": "Predicate", - "originalModule": "angular2/src/core/facade/collection", - "docType": "interface" - }, - { - "title": "ProtoViewRef", - "originalModule": "angular2/src/core/compiler/view_ref", - "docType": "interface" - }, - { - "title": "Provider", - "originalModule": "angular2/src/core/di/provider", - "docType": "class" - }, - { - "title": "ProviderBuilder", - "originalModule": "angular2/src/core/di/provider", - "docType": "class" - }, - { - "title": "Query", - "varType": "QueryFactory", - "originalModule": "angular2/src/core/metadata", - "docType": "var" - }, - { - "title": "QueryFactory", - "originalModule": "angular2/src/core/metadata", - "docType": "interface" - }, - { - "title": "QueryList", - "originalModule": "angular2/src/core/compiler/query_list", - "docType": "class" - }, - { - "title": "QueryMetadata", - "originalModule": "angular2/src/core/metadata/di", - "docType": "class" - }, - { - "title": "RenderBeginCmd", - "originalModule": "angular2/src/core/render/api", - "docType": "interface" - }, - { - "title": "RenderBeginComponentCmd", - "originalModule": "angular2/src/core/render/api", - "docType": "interface" - }, - { - "title": "RenderBeginElementCmd", - "originalModule": "angular2/src/core/render/api", - "docType": "interface" - }, - { - "title": "RenderCommandVisitor", - "originalModule": "angular2/src/core/render/api", - "docType": "interface" - }, - { - "title": "RenderElementRef", - "originalModule": "angular2/src/core/render/api", - "docType": "interface" - }, - { - "title": "RenderEmbeddedTemplateCmd", - "originalModule": "angular2/src/core/render/api", - "docType": "interface" - }, - { - "title": "RenderEventDispatcher", - "originalModule": "angular2/src/core/render/api", - "docType": "interface" - }, - { - "title": "RenderFragmentRef", - "originalModule": "angular2/src/core/render/api", - "docType": "class" - }, - { - "title": "RenderNgContentCmd", - "originalModule": "angular2/src/core/render/api", - "docType": "interface" - }, - { - "title": "RenderProtoViewRef", - "originalModule": "angular2/src/core/render/api", - "docType": "class" - }, - { - "title": "RenderTemplateCmd", - "originalModule": "angular2/src/core/render/api", - "docType": "interface" - }, - { - "title": "RenderTextCmd", - "originalModule": "angular2/src/core/render/api", - "docType": "interface" - }, - { - "title": "RenderViewRef", - "originalModule": "angular2/src/core/render/api", - "docType": "class" - }, - { - "title": "RenderViewWithFragments", - "originalModule": "angular2/src/core/render/api", - "docType": "class" - }, - { - "title": "Renderer", - "originalModule": "angular2/src/core/render/api", - "docType": "class" - }, - { - "title": "RequiredValidator", - "originalModule": "angular2/src/core/forms/directives/validators", - "docType": "class" - }, - { - "title": "ResolvedBinding", - "originalModule": "angular2/src/core/di/binding", - "docType": "class" - }, - { - "title": "ResolvedFactory", - "originalModule": "angular2/src/core/di/binding", - "docType": "class" - }, - { - "title": "ResolvedProvider", - "originalModule": "angular2/src/core/di/provider", - "docType": "interface" - }, - { - "title": "Scope", - "originalModule": "angular2/src/core/debug/debug_element", - "docType": "class" - }, - { - "title": "SelectControlValueAccessor", - "originalModule": "angular2/src/core/forms/directives/select_control_value_accessor", - "docType": "directive" - }, - { - "title": "Self", - "varType": "SelfFactory", - "originalModule": "angular2/src/core/di/decorators", - "docType": "var" - }, - { - "title": "SelfFactory", - "originalModule": "angular2/src/core/di/decorators", - "docType": "interface" - }, - { - "title": "SelfMetadata", - "originalModule": "angular2/src/core/di/metadata", - "docType": "class" - }, - { - "title": "SimpleChange", - "originalModule": "angular2/src/core/change_detection/change_detection_util", - "docType": "class" - }, - { - "title": "SkipSelf", - "varType": "SkipSelfFactory", - "originalModule": "angular2/src/core/di/decorators", - "docType": "var" - }, - { - "title": "SkipSelfFactory", - "originalModule": "angular2/src/core/di/decorators", - "docType": "interface" - }, - { - "title": "SkipSelfMetadata", - "originalModule": "angular2/src/core/di/metadata", - "docType": "class" - }, - { - "title": "SlicePipe", - "originalModule": "angular2/src/core/pipes/slice_pipe", - "docType": "class" - }, - { - "title": "TemplateRef", - "originalModule": "angular2/src/core/compiler/template_ref", - "docType": "class" - }, - { - "title": "Title", - "originalModule": "angular2/src/core/services/title", - "docType": "class" - }, - { - "title": "Type", - "originalModule": "angular2/src/core/facade/lang", - "docType": "interface" - }, - { - "title": "TypeDecorator", - "originalModule": "angular2/src/core/util/decorators", - "docType": "interface" - }, - { - "title": "TypeLiteral", - "originalModule": "angular2/src/core/di/type_literal", - "docType": "class" - }, - { - "title": "UpperCasePipe", - "originalModule": "angular2/src/core/pipes/uppercase_pipe", - "docType": "class" - }, - { - "title": "UrlResolver", - "originalModule": "angular2/src/core/services/url_resolver", - "docType": "class" - }, - { - "title": "Validators", - "originalModule": "angular2/src/core/forms/validators", - "docType": "class" - }, - { - "title": "View", - "varType": "ViewFactory", - "originalModule": "angular2/src/core/metadata", - "docType": "var" - }, - { - "title": "ViewChild", - "originalModule": "angular2/src/core/metadata", - "docType": "var" - }, - { - "title": "ViewChildFactory", - "originalModule": "angular2/src/core/metadata", - "docType": "interface" - }, - { - "title": "ViewChildMetadata", - "originalModule": "angular2/src/core/metadata", - "docType": "class" - }, - { - "title": "ViewChildren", - "originalModule": "angular2/src/core/metadata", - "docType": "var" - }, - { - "title": "ViewChildrenFactory", - "originalModule": "angular2/src/core/metadata", - "docType": "interface" - }, - { - "title": "ViewChildrenMetadata", - "originalModule": "angular2/src/core/metadata", - "docType": "class" - }, - { - "title": "ViewContainerRef", - "originalModule": "angular2/src/core/compiler/view_container_ref", - "docType": "class" - }, - { - "title": "ViewDecorator", - "originalModule": "angular2/src/core/metadata", - "docType": "interface" - }, - { - "title": "ViewEncapsulation", - "originalModule": "angular2/src/core/render/api", - "docType": "enum" - }, - { - "title": "ViewFactory", - "originalModule": "angular2/src/core/metadata", - "docType": "interface" - }, - { - "title": "ViewMetadata", - "originalModule": "angular2/src/core/metadata/view", - "docType": "class" - }, - { - "title": "ViewQuery", - "varType": "QueryFactory", - "originalModule": "angular2/src/core/metadata", - "docType": "var" - }, - { - "title": "ViewQueryMetadata", - "originalModule": "angular2/src/core/metadata/di", - "docType": "class" - }, - { - "title": "ViewRef", - "originalModule": "angular2/src/core/compiler/view_ref", - "docType": "class" - }, - { - "title": "WrappedException", - "originalModule": "angular2/src/core/facade/exceptions", - "docType": "class" - }, - { - "title": "WrappedValue", - "originalModule": "angular2/src/core/change_detection/change_detection_util", - "docType": "class" - }, - { - "title": "applicationCommonBindings", - "originalModule": "angular2/src/core/application_ref", - "docType": "function" - }, - { - "title": "asNativeElements", - "originalModule": "angular2/src/core/debug/debug_element", - "docType": "function" - }, - { - "title": "bind", - "originalModule": "angular2/src/core/di/binding", - "docType": "function" - }, - { - "title": "bootstrap", - "originalModule": "angular2/src/core/application_common", - "docType": "function" - }, - { - "title": "createNgZone", - "originalModule": "angular2/src/core/application_ref", - "docType": "function" - }, - { - "title": "forwardRef", - "originalModule": "angular2/src/core/di/forward_ref", - "docType": "function" - }, - { - "title": "inspectElement", - "originalModule": "angular2/src/core/debug/debug_element", - "docType": "function" - }, - { - "title": "inspectNativeElement", - "originalModule": "angular2/src/core/debug/debug_element_view_listener", - "docType": "function" - }, - { - "title": "platform", - "originalModule": "angular2/src/core/application_common", - "docType": "function" - }, - { - "title": "platformBindings", - "originalModule": "angular2/src/core/application_ref", - "docType": "function" - }, - { - "title": "platformCommon", - "originalModule": "angular2/src/core/application_ref", - "docType": "function" - }, - { - "title": "provide", - "originalModule": "angular2/src/core/application_common", - "docType": "function" - }, - { - "title": "resolveForwardRef", - "originalModule": "angular2/src/core/di/forward_ref", - "docType": "function" - }, - { - "title": "workaround_empty_observable_list_diff", - "originalModule": "angular2/src/core/directives/observable_list_diff", - "docType": "var" - } - ]; - $scope.apiList.http = [ - { - "title": "BaseRequestOptions", - "originalModule": "angular2/src/http/base_request_options", - "docType": "class" - }, - { - "title": "BaseResponseOptions", - "originalModule": "angular2/src/http/base_response_options", - "docType": "class" - }, - { - "title": "BrowserXhr", - "originalModule": "angular2/src/http/backends/browser_xhr", - "docType": "class" - }, - { - "title": "HTTP_BINDINGS", - "originalModule": "angular2/http", - "docType": "const" - }, - { - "title": "HTTP_PROVIDERS", - "originalModule": "angular2/http", - "docType": "const" - }, - { - "title": "Headers", - "originalModule": "angular2/src/http/headers", - "docType": "class" - }, - { - "title": "Http", - "originalModule": "angular2/src/http/http", - "docType": "class" - }, - { - "title": "JSONPBackend", - "originalModule": "angular2/src/http/backends/jsonp_backend", - "docType": "interface" - }, - { - "title": "JSONPConnection", - "originalModule": "angular2/src/http/backends/jsonp_backend", - "docType": "interface" - }, - { - "title": "JSONP_BINDINGS", - "originalModule": "angular2/http", - "docType": "const" - }, - { - "title": "JSONP_PROVIDERS", - "originalModule": "angular2/http", - "docType": "const" - }, - { - "title": "JSON_BINDINGS", - "originalModule": "angular2/http", - "docType": "const" - }, - { - "title": "Jsonp", - "originalModule": "angular2/src/http/http", - "docType": "class" - }, - { - "title": "MockBackend", - "originalModule": "angular2/src/http/backends/mock_backend", - "docType": "class" - }, - { - "title": "MockConnection", - "originalModule": "angular2/src/http/backends/mock_backend", - "docType": "class" - }, - { - "title": "ReadyStates", - "originalModule": "angular2/src/http/enums", - "docType": "enum" - }, - { - "title": "Request", - "originalModule": "angular2/src/http/static_request", - "docType": "class" - }, - { - "title": "RequestMethods", - "originalModule": "angular2/src/http/enums", - "docType": "enum" - }, - { - "title": "RequestOptions", - "originalModule": "angular2/src/http/base_request_options", - "docType": "class" - }, - { - "title": "RequestOptionsArgs", - "originalModule": "angular2/src/http/interfaces", - "docType": "interface" - }, - { - "title": "Response", - "originalModule": "angular2/src/http/static_response", - "docType": "class" - }, - { - "title": "ResponseOptions", - "originalModule": "angular2/src/http/base_response_options", - "docType": "class" - }, - { - "title": "ResponseOptionsArgs", - "originalModule": "angular2/src/http/interfaces", - "docType": "interface" - }, - { - "title": "ResponseTypes", - "originalModule": "angular2/src/http/enums", - "docType": "enum" - }, - { - "title": "URLSearchParams", - "originalModule": "angular2/src/http/url_search_params", - "docType": "class" - }, - { - "title": "XHRBackend", - "originalModule": "angular2/src/http/backends/xhr_backend", - "docType": "class" - }, - { - "title": "XHRConnection", - "originalModule": "angular2/src/http/backends/xhr_backend", - "docType": "class" - } - ]; - $scope.apiList.lifecycle_hooks = [ - { - "title": "AfterContentChecked", - "originalModule": "angular2/src/core/compiler/interfaces", - "docType": "class" - }, - { - "title": "AfterContentInit", - "originalModule": "angular2/src/core/compiler/interfaces", - "docType": "class" - }, - { - "title": "AfterViewChecked", - "originalModule": "angular2/src/core/compiler/interfaces", - "docType": "class" - }, - { - "title": "AfterViewInit", - "originalModule": "angular2/src/core/compiler/interfaces", - "docType": "class" - }, - { - "title": "DoCheck", - "originalModule": "angular2/src/core/compiler/interfaces", - "docType": "class" - }, - { - "title": "OnChanges", - "originalModule": "angular2/src/core/compiler/interfaces", - "docType": "class" - }, - { - "title": "OnDestroy", - "originalModule": "angular2/src/core/compiler/interfaces", - "docType": "class" - }, - { - "title": "OnInit", - "originalModule": "angular2/src/core/compiler/interfaces", - "docType": "class" - } - ]; - $scope.apiList.router = [ - { - "title": "APP_BASE_HREF", - "varType": "OpaqueToken", - "originalModule": "angular2/src/router/location", - "docType": "const" - }, - { - "title": "AsyncRoute", - "originalModule": "angular2/src/router/route_config_impl", - "docType": "class" - }, - { - "title": "AuxRoute", - "originalModule": "angular2/src/router/route_config_impl", - "docType": "class" - }, - { - "title": "CanActivate", - "originalModule": "angular2/src/router/lifecycle_annotations", - "docType": "var" - }, - { - "title": "CanDeactivate", - "originalModule": "angular2/src/router/interfaces", - "docType": "interface" - }, - { - "title": "CanReuse", - "originalModule": "angular2/src/router/interfaces", - "docType": "interface" - }, - { - "title": "ComponentDefinition", - "originalModule": "angular2/src/router/route_definition", - "docType": "interface" - }, - { - "title": "ComponentInstruction", - "originalModule": "angular2/src/router/instruction", - "docType": "interface" - }, - { - "title": "HashLocationStrategy", - "originalModule": "angular2/src/router/hash_location_strategy", - "docType": "class" - }, - { - "title": "Instruction", - "originalModule": "angular2/src/router/instruction", - "docType": "class" - }, - { - "title": "Location", - "originalModule": "angular2/src/router/location", - "docType": "class" - }, - { - "title": "OnActivate", - "originalModule": "angular2/src/router/interfaces", - "docType": "interface" - }, - { - "title": "OnDeactivate", - "originalModule": "angular2/src/router/interfaces", - "docType": "interface" - }, - { - "title": "OnReuse", - "originalModule": "angular2/src/router/interfaces", - "docType": "interface" - }, - { - "title": "OpaqueToken", - "originalModule": "angular2/src/core/di/opaque_token", - "docType": "class" - }, - { - "title": "PathLocationStrategy", - "originalModule": "angular2/src/router/path_location_strategy", - "docType": "class" - }, - { - "title": "ROUTER_BINDINGS", - "originalModule": "angular2/router", - "docType": "const" - }, - { - "title": "ROUTER_DIRECTIVES", - "originalModule": "angular2/router", - "docType": "const" - }, { - "title": "ROUTER_PRIMARY_COMPONENT", - "originalModule": "angular2/router", - "docType": "const" - }, - { - "title": "ROUTER_PROVIDERS", - "originalModule": "angular2/router", - "docType": "const" - }, - { - "title": "ROUTE_DATA", - "varType": "OpaqueToken", - "originalModule": "angular2/src/router/route_data", - "docType": "const" - }, - { - "title": "Redirect", - "originalModule": "angular2/src/router/route_config_impl", - "docType": "class" - }, - { - "title": "Route", - "originalModule": "angular2/src/router/route_config_impl", - "docType": "class" - }, - { - "title": "RouteConfig", - "originalModule": "angular2/src/router/route_config_decorator", - "docType": "var" - }, - { - "title": "RouteDefinition", - "originalModule": "angular2/src/router/route_definition", - "docType": "interface" - }, - { - "title": "RouteParams", - "originalModule": "angular2/src/router/instruction", - "docType": "class" - }, - { - "title": "RouteRegistry", - "originalModule": "angular2/src/router/route_registry", - "docType": "class" - }, - { - "title": "Router", - "originalModule": "angular2/src/router/router", - "docType": "class" - }, - { - "title": "RouterLink", - "originalModule": "angular2/src/router/router_link", - "docType": "class" - }, - { - "title": "RouterOutlet", - "originalModule": "angular2/src/router/router_outlet", - "docType": "interface" - }, - { - "title": "routerBindings", - "originalModule": "angular2/router", - "docType": "function" - } - ]; - $scope.apiList.test = [ - { - "title": "AnyTestFn", - "originalModule": "angular2/src/testing/testing", - "docType": "type-alias" - }, - { - "title": "AsyncTestCompleter", - "originalModule": "angular2/src/test_lib/test_lib", - "docType": "class" - }, - { - "title": "AsyncTestFn", - "originalModule": "angular2/src/testing/testing", - "docType": "type-alias" - }, - { - "title": "FunctionWithParamTokens", - "originalModule": "angular2/src/test_lib/test_injector", - "docType": "class" - }, - { - "title": "GuinessCompatibleSpy", - "originalModule": "angular2/src/test_lib/test_lib", - "docType": "interface" - }, - { - "title": "NgMatchers", - "originalModule": "angular2/src/test_lib/test_lib", - "docType": "interface" - }, - { - "title": "RootTestComponent", - "originalModule": "angular2/src/test_lib/test_component_builder", - "docType": "class" - }, - { - "title": "SpyObject", - "originalModule": "angular2/src/test_lib/test_lib", - "docType": "class" - }, - { - "title": "SyncTestFn", - "originalModule": "angular2/src/test_lib/test_lib", - "docType": "type-alias" - }, - { - "title": "TestComponentBuilder", - "originalModule": "angular2/src/test_lib/test_component_builder", - "docType": "class" - }, - { - "title": "afterEach", - "varType": "Function", - "originalModule": "angular2/src/test_lib/test_lib", - "docType": "var" - }, - { - "title": "beforeEach", - "originalModule": "angular2/src/test_lib/test_lib", - "docType": "function" - }, - { - "title": "beforeEachBindings", - "originalModule": "angular2/src/test_lib/test_lib", - "docType": "function" - }, - { - "title": "clearPendingTimers", - "originalModule": "angular2/src/test_lib/fake_async", - "docType": "function" - }, - { - "title": "createTestInjector", - "originalModule": "angular2/src/test_lib/test_injector", - "docType": "function" - }, - { - "title": "ddescribe", - "originalModule": "angular2/src/test_lib/test_lib", - "docType": "function" - }, - { - "title": "describe", - "originalModule": "angular2/src/test_lib/test_lib", - "docType": "function" - }, - { - "title": "expect", - "originalModule": "angular2/src/test_lib/test_lib", - "docType": "var" - }, - { - "title": "fakeAsync", - "originalModule": "angular2/src/test_lib/fake_async", - "docType": "function" - }, - { - "title": "fdescribe", - "originalModule": "angular2/src/test_lib/test_lib", - "docType": "var" - }, - { - "title": "fit", - "originalModule": "angular2/src/test_lib/test_lib", - "docType": "function" - }, - { - "title": "flushMicrotasks", - "originalModule": "angular2/src/test_lib/fake_async", - "docType": "function" - }, - { - "title": "iit", - "originalModule": "angular2/src/test_lib/test_lib", - "docType": "function" - }, - { - "title": "inject", - "originalModule": "angular2/src/test_lib/test_injector", - "docType": "function" - }, - { - "title": "injectAsync", - "originalModule": "angular2/src/test_lib/inject_async", - "docType": "function" - }, - { - "title": "isInInnerZone", - "originalModule": "angular2/src/test_lib/test_lib", - "docType": "function" - }, - { - "title": "it", - "originalModule": "angular2/src/test_lib/test_lib", - "docType": "function" - }, - { - "title": "proxy", - "varType": "ClassDecorator", - "originalModule": "angular2/src/test_lib/test_lib", - "docType": "var" - }, - { - "title": "tick", - "originalModule": "angular2/src/test_lib/fake_async", - "docType": "function" - }, - { - "title": "xdescribe", - "originalModule": "angular2/src/test_lib/test_lib", - "docType": "function" - }, - { - "title": "xit", - "originalModule": "angular2/src/test_lib/test_lib", - "docType": "function" - } - ]; - $scope.cheatsheet = [ { "syntax": "Bootstrapping",