Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit caa4ec2

Browse files
committed
chore: rename Angular 2 to simply Angular
1 parent 40f320d commit caa4ec2

File tree

104 files changed

+205
-205
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

104 files changed

+205
-205
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Angular.io
22
[![Build Status][travis-badge]][travis-badge-url]
33

4-
Angular.io is site for Angular 2 **documentation** .
4+
Angular.io is site for Angular **documentation** .
55

66
This site also includes links to other helpful angular resources including
7-
Angular 2, Angular 1, Angular Material, and AngularFire.
7+
Angular, Angularjs, Angular Material, and AngularFire.
88

99
## Issues
1010

@@ -77,7 +77,7 @@ Such code resides in the `public/docs/_examples` directory, under page-specific
7777

7878
For example, the TypeScript QuickStart sample is in `public/docs/_examples/quickstart/ts`.
7979

80-
All samples are in a consistent directory structure using the same styles and the same npm packages, including the latest release of Angular 2.
80+
All samples are in a consistent directory structure using the same styles and the same npm packages, including the latest release of Angular.
8181
This consistency is possible in part thanks to gulp-driven tooling.
8282
To run the samples locally and confirm that they work properly,
8383
take the following extra steps to prepare the environment:

gulpfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ gulp.task('_copy-example-boilerplate', function (done) {
461461
return argv.fast ? done() : buildStyles(copyExampleBoilerplate, done);
462462
});
463463

464-
//Builds Angular 2 Docs CSS file from Bootstrap npm LESS source
464+
//Builds Angular Docs CSS file from Bootstrap npm LESS source
465465
//and copies the result to the _examples folder to be included as
466466
//part of the example boilerplate.
467467
function buildStyles(cb, done){

harp.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
"picture": "/resources/images/bios/tobias.jpg",
8686
"twitter": "tbosch1009",
8787
"website": "https://plus.google.com/+TobiasBosch",
88-
"bio": "Tobias Bosch is a software engineer at Google. He is part of the Angular core team and works on Angular 2.",
88+
"bio": "Tobias Bosch is a software engineer at Google. He is part of the Angular core team and works on Angular.",
8989
"type": "Google"
9090
},
9191

@@ -184,7 +184,7 @@
184184
"picture": "/resources/images/bios/hansl.jpg",
185185
"twitter": "hanslatwork",
186186
"website": "http://www.codingatwork.com/",
187-
"bio": "Hans is a software engineer at Google on the Angular team and was previously at Slack. He works everyday to help make it easier for everyone to create beautiful, consistent web applications using Angular2, using Material Design components and the CLI tool.",
187+
"bio": "Hans is a software engineer at Google on the Angular team and was previously at Slack. He works everyday to help make it easier for everyone to create beautiful, consistent web applications using Angular, using Material Design components and the CLI tool.",
188188
"type": "Google"
189189
},
190190

@@ -354,7 +354,7 @@
354354
"picture": "/resources/images/bios/marclaval.jpg",
355355
"twitter": "marclaval",
356356
"website": "https://github.com/mlaval",
357-
"bio": "Marc is a manager at Amadeus where he leads the team in charge of developing and recommending UI frameworks for the company. He is also an open source developer and a contributor to Angular 2.",
357+
"bio": "Marc is a manager at Amadeus where he leads the team in charge of developing and recommending UI frameworks for the company. He is also an open source developer and a contributor to Angular.",
358358
"type": "Community"
359359
},
360360

@@ -372,7 +372,7 @@
372372
"picture": "/resources/images/bios/patrick-stapleton.jpg",
373373
"twitter": "gdi2290",
374374
"website": "https://angularclass.com",
375-
"bio": "Also know as PatrickJS where JS stands for his middle and last names. Patrick is very active in Open-Source with over 4,300+ contributions in the last year alone on projects such as Angular2, AngularJS, FalcorJS, Docker, Bootstrap, gulp, and redis to name a few. He is also working on the development of Angular 2 server-side rendering as Universal Angular 2 and teaching Modern Web Development at AngularClass. He was previously the CTO of Keychain Logistics, a HackReactor Instructor and Alum.",
375+
"bio": "Also know as PatrickJS where JS stands for his middle and last names. Patrick is very active in Open-Source with over 4,300+ contributions in the last year alone on projects such as Angular, AngularJS, FalcorJS, Docker, Bootstrap, gulp, and redis to name a few. He is also working on the development of Angular server-side rendering as Universal Angular and teaching Modern Web Development at AngularClass. He was previously the CTO of Keychain Logistics, a HackReactor Instructor and Alum.",
376376
"type": "Community"
377377
},
378378

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "angular.io",
33
"version": "0.0.0",
44
"private": true,
5-
"description": "Angular 2 documentation",
5+
"description": "Angular documentation",
66
"main": "index.js",
77
"scripts": {
88
"test": "echo \"Error: no test specified\" && exit 1",

public/_includes/_footer.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ else
1717
h3.text-headline RESOURCES
1818

1919
ul.text-body
20-
// TODO: (ericjim) make a libraries page to showcase all angular 2 libraries
20+
// TODO: (ericjim) make a libraries page to showcase all angular libraries
2121
//li <a href="/libraries.html">Libraries</a>
2222
li <a href="/about/">About</a>
2323
li <a href="/resources/">Books & Training</a>

public/_includes/_head-include.jade

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ if title == "Angular"
1212
else if language
1313
title #{title} - #{language}
1414
else
15-
title #{title} - Angular 2
15+
title #{title} - Angular
1616

1717
meta(charset="utf-8")
1818
meta(http-equiv="X-UA-Compatible" content="IE=edge")
@@ -22,14 +22,14 @@ meta(name="robots" content="all")
2222
meta(name="referrer" content="origin")
2323
meta(name="viewport" id="viewport" content="width=device-width, initial-scale=1")
2424

25-
meta(property="og:title" content="Angular 2")
25+
meta(property="og:title" content="Angular")
2626
meta(property="og:image" content="/resources/images/logos/standard/shield-large.png")
2727
meta(property="og:image:type" content="image/png")
2828
meta(property="og:image:width" content="184")
2929
meta(property="og:image:height" content="200")
3030
meta(property="og:description" content="#{description}")
3131

32-
meta(itemprop="name" content="Angular 2")
32+
meta(itemprop="name" content="Angular")
3333
meta(itemprop="description" content="#{description}")
3434
meta(itemprop="image" content="https://angular.io/resources/images/logos/standard/shield-large.png")
3535

@@ -57,4 +57,4 @@ link(rel="stylesheet" href="/resources/css/main.css")
5757
<link rel="icon" type="image/png" href="/resources/images/favicons/favicon-96x96.png" sizes="96x96">
5858
<link rel="icon" type="image/png" href="/resources/images/favicons/android-chrome-192x192.png" sizes="192x192">
5959
<link rel="icon" type="image/png" href="/resources/images/favicons/favicon-16x16.png" sizes="16x16">
60-
<link rel="manifest" href="/resources/images/favicons/manifest.json">
60+
<link rel="manifest" href="/resources/images/favicons/manifest.json">

public/_includes/_version-dropdown.jade

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,20 +44,20 @@ mixin tree(directory, urlPrefix, name, latest)
4444
//- BUTTON TITLE GENERATION
4545
if language == 'ts'
4646
if version == "latest"
47-
- var title = 'Angular 2 for TypeScript'
47+
- var title = 'Angular for TypeScript'
4848
else
4949
- var title = 'Angular ' + version + ' for TypeScript'
5050

5151
if language == 'js'
5252
if version == "latest"
53-
- var title = 'Angular 2 for JavaScript'
53+
- var title = 'Angular for JavaScript'
5454
else
5555
- var title = 'Angular ' + version + ' for JavaScript'
5656

5757

5858
if language == 'dart'
5959
if version == "latest"
60-
- var title = 'Angular 2 for Dart'
60+
- var title = 'Angular for Dart'
6161
else
6262
- var title = 'Angular ' + version + ' for Dart'
6363

@@ -69,8 +69,8 @@ nav.dropdown
6969

7070
<!-- DROPDOWN MENU -->
7171
ul(class="dropdown-menu" ng-class="appCtrl.showMenu ? 'is-visible' : ''")
72-
mixin tree(public.docs.ts, "/docs/ts", "Angular 2 for TypeScript")
73-
mixin tree(public.docs.js, "/docs/js", "Angular 2 for JavaScript")
72+
mixin tree(public.docs.ts, "/docs/ts", "Angular for TypeScript")
73+
mixin tree(public.docs.js, "/docs/js", "Angular for JavaScript")
7474
//- Disable cross-language link for API entry pages (but keep for top API search page):
7575
if ! (current.path[3] === 'api' && public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]])
76-
mixin tree(public.docs.dart, "/docs/dart", "Angular 2 for Dart")
76+
mixin tree(public.docs.dart, "/docs/dart", "Angular for Dart")

public/contribute.jade

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
p We'd love for you to contribute to our source code and to make Angular projects even better.
44

55
.l-sub-section
6-
h3 Angular 2
6+
h3 Angular
77

8-
p Angular 2 is a next generation mobile and desktop application development platform.
8+
p Angular is a next generation mobile and desktop application development platform.
99

10-
a(href="https://github.com/angular/angular/blob/master/CONTRIBUTING.md" class="button" md-button) Contribute to Angular 2
10+
a(href="https://github.com/angular/angular/blob/master/CONTRIBUTING.md" class="button" md-button) Contribute to Angular
1111

1212
.l-sub-section
1313
h3 Angular for JavaScript or Dart

public/docs/_examples/_protractor/protractor.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ exports.config = {
2626
// Framework to use. Jasmine is recommended.
2727
framework: 'jasmine',
2828

29-
// For angular2 tests
29+
// For angular tests
3030
useAllAngular2AppRoots: true,
3131

3232
// Base URL for application server

public/docs/_examples/animations/e2e-spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* The tests here basically just checking that the end styles
55
* of each animation are in effect.
66
*
7-
* Relies on the Angular 2 testability only becoming stable once
7+
* Relies on the Angular testability only becoming stable once
88
* animation(s) have finished.
99
*
1010
* Ideally we'd use https://developer.mozilla.org/en-US/docs/Web/API/Document/getAnimations

public/docs/_examples/animations/ts/plnkr.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"description": "Angular 2 Animations",
2+
"description": "Angular Animations",
33
"files":[
44
"!**/*.d.ts",
55
"!**/*.js"

public/docs/_examples/architecture/dart/web/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<title>Architecture of Angular 2</title>
4+
<title>Architecture of Angular</title>
55
<meta charset="UTF-8">
66
<meta name="viewport" content="width=device-width, initial-scale=1">
77
<link rel="stylesheet" href="styles.css">

public/docs/_examples/architecture/e2e-spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class Hero {
1010

1111
describe('Architecture', () => {
1212

13-
const expectedTitle = 'Architecture of Angular 2';
13+
const expectedTitle = 'Architecture of Angular';
1414
const expectedH2 = ['Hero List', 'Sales Tax Calculator'];
1515

1616
beforeAll(() => browser.get(''));

public/docs/_examples/architecture/ts/app/mini-app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { Component } from '@angular/core';
1313

1414
@Component({
1515
selector: 'my-app',
16-
template: 'Welcome to Angular 2'
16+
template: 'Welcome to Angular'
1717
})
1818
export class AppComponent {
1919
constructor(logger: Logger) {

public/docs/_examples/architecture/ts/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<title>Architecture of Angular 2</title>
4+
<title>Architecture of Angular</title>
55
<meta charset="UTF-8">
66
<meta name="viewport" content="width=device-width, initial-scale=1">
77
<link rel="stylesheet" href="styles.css">

public/docs/_examples/architecture/ts/mini-app.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<title>Architecture of Angular 2</title>
4+
<title>Architecture of Angular</title>
55
<meta charset="UTF-8">
66
<meta name="viewport" content="width=device-width, initial-scale=1">
77
<link rel="stylesheet" href="styles.css">

public/docs/_examples/architecture/ts/plnkr.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"description": "Intro to Angular2",
2+
"description": "Intro to Angular",
33
"files":[
44
"!**/*.d.ts",
55
"!**/*.js",

public/docs/_examples/cb-aot-compiler/e2e-spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ describe('AOT Compilation', function () {
99

1010
it('should load page and click button', function (done) {
1111
let headingSelector = element.all(by.css('h1')).get(0);
12-
expect(headingSelector.getText()).toEqual('My First Angular 2 App');
12+
expect(headingSelector.getText()).toEqual('My First Angular App');
1313

1414
expect(element.all(by.xpath('//div[text()="Magneta"]')).get(0).isPresent()).toBe(true);
1515
expect(element.all(by.xpath('//div[text()="Bombasto"]')).get(0).isPresent()).toBe(true);

public/docs/_examples/cb-aot-compiler/ts/app/app.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!-- #docregion -->
22
<button (click)="toggleHeading()">Toggle Heading</button>
3-
<h1 *ngIf="showHeading">My First Angular 2 App</h1>
3+
<h1 *ngIf="showHeading">My First Angular App</h1>
44

55
<h3>List of Heroes</h3>
66
<div *ngFor="let hero of heroes">{{hero}}</div>

public/docs/_examples/cb-set-document-title/ts/plnkr.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"description": "Set The Document Title In Angular 2",
2+
"description": "Set The Document Title In Angular",
33
"files": [
44
"!**/*.d.ts",
55
"!**/*.js",

public/docs/_examples/cli-quickstart/e2e-spec.ts.disabled

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ describe('cli-quickstart App', () => {
77

88
it('should display message saying app works', () => {
99
let pageTitle = element(by.css('cli-quickstart-app h1')).getText();
10-
expect(pageTitle).toEqual('My First Angular 2 App');
10+
expect(pageTitle).toEqual('My First Angular App');
1111
});
1212
});

public/docs/_examples/cli-quickstart/ts/src/app/cli-quickstart.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ import { Component } from '@angular/core';
1212
// #enddocregion metadata
1313
// #docregion title, class
1414
export class CliQuickstartAppComponent {
15-
title = 'My First Angular 2 App';
15+
title = 'My First Angular App';
1616
}
1717
// #enddocregion title, class

public/docs/_examples/homepage-hello-world/ts/index.1.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!DOCTYPE html>
33
<html>
44
<head>
5-
<title>Angular 2 Hello World</title>
5+
<title>Angular Hello World</title>
66
<meta charset="UTF-8">
77
<meta name="viewport" content="width=device-width, initial-scale=1">
88
<link rel="stylesheet" href="styles.css">

public/docs/_examples/homepage-hello-world/ts/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!DOCTYPE html>
33
<html>
44
<head>
5-
<title>Angular 2 Hello World</title>
5+
<title>Angular Hello World</title>
66
<meta charset="UTF-8">
77
<meta name="viewport" content="width=device-width, initial-scale=1">
88
<link rel="stylesheet" href="styles.css">

public/docs/_examples/homepage-tabs/ts/index.1.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!DOCTYPE html>
33
<html>
44
<head>
5-
<title>Angular 2 Tabs</title>
5+
<title>Angular Tabs</title>
66
<meta charset="UTF-8">
77
<meta name="viewport" content="width=device-width, initial-scale=1">
88
<link rel="stylesheet" href="styles.css">

public/docs/_examples/homepage-tabs/ts/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!DOCTYPE html>
33
<html>
44
<head>
5-
<title>Angular 2 Tabs</title>
5+
<title>Angular Tabs</title>
66
<meta charset="UTF-8">
77
<meta name="viewport" content="width=device-width, initial-scale=1">
88
<link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.min.css">

public/docs/_examples/homepage-todo/ts/index.1.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!DOCTYPE html>
33
<html>
44
<head>
5-
<title>Angular 2 Todos</title>
5+
<title>Angular Todos</title>
66
<meta charset="UTF-8">
77
<meta name="viewport" content="width=device-width, initial-scale=1">
88
<link rel="stylesheet" href="styles.css">

public/docs/_examples/homepage-todo/ts/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!DOCTYPE html>
33
<html>
44
<head>
5-
<title>Angular 2 Todos</title>
5+
<title>Angular Todos</title>
66
<meta charset="UTF-8">
77
<meta name="viewport" content="width=device-width, initial-scale=1">
88
<link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.min.css">

public/docs/_examples/lifecycle-hooks/ts/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!-- #docregion -->
33
<html>
44
<head>
5-
<title>Angular 2 Lifecycle Hooks</title>
5+
<title>Angular Lifecycle Hooks</title>
66
<meta charset="UTF-8">
77
<meta name="viewport" content="width=device-width, initial-scale=1">
88
<link rel="stylesheet" href="styles.css">
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
### Angular 2 Documentation Example
1+
### Angular Documentation Example
22

public/docs/_examples/quickstart/e2e-spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
'use strict';
33
describe('QuickStart E2E Tests', function () {
44

5-
let expectedMsg = 'My First Angular 2 App';
5+
let expectedMsg = 'My First Angular App';
66

77
beforeEach(function () {
88
browser.get('');

public/docs/_examples/quickstart/js/app/app.component.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
ng.core.Component({
1111
// #enddocregion ng-namespace-funcs
1212
selector: 'my-app',
13-
template: '<h1>My First Angular 2 App</h1>'
13+
template: '<h1>My First Angular App</h1>'
1414
// #docregion ng-namespace-funcs
1515
})
1616
// #enddocregion component

public/docs/_examples/quickstart/js/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!-- #docregion -->
33
<html>
44
<head>
5-
<title>Angular 2 QuickStart JS</title>
5+
<title>Angular QuickStart JS</title>
66
<meta name="viewport" content="width=device-width, initial-scale=1">
77
<link rel="stylesheet" href="styles.css">
88

public/docs/_examples/quickstart/ts/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { Component } from '@angular/core';
66
// #docregion metadata
77
@Component({
88
selector: 'my-app',
9-
template: '<h1>My First Angular 2 App</h1>'
9+
template: '<h1>My First Angular App</h1>'
1010
})
1111
// #enddocregion metadata
1212
// #docregion class

public/docs/_examples/quickstart/ts/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!-- #docregion -->
33
<html>
44
<head>
5-
<title>Angular 2 QuickStart</title>
5+
<title>Angular QuickStart</title>
66
<meta charset="UTF-8">
77
<meta name="viewport" content="width=device-width, initial-scale=1">
88
<link rel="stylesheet" href="styles.css">

0 commit comments

Comments
 (0)