From 8218245743df09b6202e2fe17a85f2dfcf69310f Mon Sep 17 00:00:00 2001 From: Georgios Kalpakas Date: Mon, 29 Jun 2015 17:31:11 +0300 Subject: [PATCH 001/115] fix(New/EditProjectController): fix incorrect use of the `Projects` service Fixes #171 Closes #172 --- src/index.html | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/src/index.html b/src/index.html index 8be9cbf86..0e7d10ead 100644 --- a/src/index.html +++ b/src/index.html @@ -667,23 +667,27 @@

Todo

}) .config(function($routeProvider) { + var resolveProjects = { + projects: function (Projects) { + return Projects.fetch(); + } + }; + $routeProvider .when('/', { controller:'ProjectListController as projectList', templateUrl:'list.html', - resolve: { - projects: function (Projects) { - return Projects.fetch(); - } - } + resolve: resolveProjects }) .when('/edit/:projectId', { controller:'EditProjectController as editProject', - templateUrl:'detail.html' + templateUrl:'detail.html', + resolve: resolveProjects }) .when('/new', { controller:'NewProjectController as editProject', - templateUrl:'detail.html' + templateUrl:'detail.html', + resolve: resolveProjects }) .otherwise({ redirectTo:'/' @@ -695,22 +699,22 @@

Todo

projectList.projects = projects; }) - .controller('NewProjectController', function($location, Projects) { + .controller('NewProjectController', function($location, projects) { var editProject = this; editProject.save = function() { - Projects.$add(editProject.project).then(function(data) { + projects.$add(editProject.project).then(function(data) { $location.path('/'); }); }; }) .controller('EditProjectController', - function($location, $routeParams, Projects) { + function($location, $routeParams, projects) { var editProject = this; var projectId = $routeParams.projectId, projectIndex; - editProject.projects = Projects.projects; + editProject.projects = projects; projectIndex = editProject.projects.$indexFor(projectId); editProject.project = editProject.projects[projectIndex]; From 8ff8be40ba2440f76d7b0569ee93cd58404eeaa2 Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Wed, 9 Sep 2015 11:51:17 +0100 Subject: [PATCH 002/115] chore(index): update Case Studies link to new site --- src/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.html b/src/index.html index 0e7d10ead..b0e888231 100644 --- a/src/index.html +++ b/src/index.html @@ -55,7 +55,7 @@
  • Videos
  • Free Course
  • Tutorial
  • -
  • Case Studies
  • +
  • Case Studies
  • Seed App project template
  • FAQ
  • From 0173c97fc0a18d7a2bcdecc967df1993b2924e0c Mon Sep 17 00:00:00 2001 From: Jeff Cross Date: Wed, 30 Sep 2015 13:52:27 -0700 Subject: [PATCH 003/115] feat(gitFetchSite): use backends.angularjs.org instead of gcutil --- src/propagateClusterUpdate.js | 58 ++++++++++------------------------- 1 file changed, 16 insertions(+), 42 deletions(-) diff --git a/src/propagateClusterUpdate.js b/src/propagateClusterUpdate.js index a69f972e7..eb4f37a5f 100644 --- a/src/propagateClusterUpdate.js +++ b/src/propagateClusterUpdate.js @@ -7,7 +7,7 @@ var exec = require('child_process').exec, console.log('Beginning propagation to other instances'); -exec('gcutil gettargetpool '+ TARGET_POOL +' --project='+ PROJECT +' --region='+ REGION +' --format=json', function (err, result, code) { +exec('dig backends.angularjs.org +short TXT', function (err, result, code) { var executed = 0, instances; @@ -16,48 +16,18 @@ exec('gcutil gettargetpool '+ TARGET_POOL +' --project='+ PROJECT +' --region='+ } try { - targetPool = JSON.parse(result); - instances = targetPool.instances; - } - catch (e) { - console.log('Could not parse target pool'); - return process.exit(1); - } - - - instances.forEach(function (instance) { - var name = /^.*\/([a-zA-Z\-0-9]*)$/.exec(instance)[1]; - - exec('gcutil getinstance '+ name +' --format=json --project='+ PROJECT, function (err, result, code) { - var instance, reqUrl, exitCode = 0; - - if (err) { - console.log(err); - return process.exit(code); - } - - try { - instance = JSON.parse(result); - instance.networkInterfaces.forEach(function (netInt) { - if (reqUrl) return; - if (netInt.networkIP) reqUrl = 'http://'+ netInt.networkIP +':'+ PORT +'/gitFetchSite.php?doNotPropagate=true'; - }); - } - catch (e) { - console.log(e); - return process.exit(1); - } - - if (!reqUrl) { - return console.log('Could not find any URL for instance', instance); - } - - console.log('Updating remote instance: ', reqUrl); - + var instances = result + .replace(/"/g,'') + .replace(/\n/g, '') + .split(','); + + instances.forEach(function(instance) { + var reqUrl = 'http://'+ instance +':'+ PORT +'/gitFetchSite.php?doNotPropagate=true'; + console.log('Updating ', reqUrl); http.get(reqUrl, function (res) { console.log('Finished executing', reqUrl); executed++; - executed === instances.length && process.exit(exitCode); + executed === instances.length && process.exit(); }).on('error', function (err) { console.log('Failed to update', reqUrl); console.log(err); @@ -65,6 +35,10 @@ exec('gcutil gettargetpool '+ TARGET_POOL +' --project='+ PROJECT +' --region='+ exitCode = 1; executed === instances.length && process.exit(exitCode); }); - }); - }); + }); + } + catch (e) { + console.log('failed to propagate with', e); + return process.exit(1); + } }); From 819fc2ff56b0241fa80b7286247cc1ed42692229 Mon Sep 17 00:00:00 2001 From: Aliaksei Sapach Date: Mon, 12 Oct 2015 22:54:20 +0300 Subject: [PATCH 004/115] docs(download-data): fixed a typo Closes #178 --- src/js/download-data.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/download-data.js b/src/js/download-data.js index cadef2179..a8ec7aab0 100644 --- a/src/js/download-data.js +++ b/src/js/download-data.js @@ -25,7 +25,7 @@ angular.module('download-data', []) "
    Latest 1.4.x
    "+ "
    This is the latest stable branch (master on Github), with regular bug fixes.
    "+ "
    Legacy 1.2.x
    "+ - "
    This branch contains a legacy version of AngularJS that supported IE8 (v1.2.x on Github), ony essential bug fixes will appear here.
    "+ + "
    This branch contains a legacy version of AngularJS that supported IE8 (v1.2.x on Github), only essential bug fixes will appear here.
    "+ "", buildsInfo: From 90cac309c7f8b3b4a3ece063a9a3e49bd881535d Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Thu, 15 Oct 2015 10:10:16 +0100 Subject: [PATCH 005/115] docs(index): add Angular Connect live stream links --- src/css/docs.css | 7 ++++++- src/index.html | 46 +++++++++++++++++++++++++++------------------- 2 files changed, 33 insertions(+), 20 deletions(-) diff --git a/src/css/docs.css b/src/css/docs.css index bbffe72ec..04b16d207 100644 --- a/src/css/docs.css +++ b/src/css/docs.css @@ -68,7 +68,7 @@ background: linear-gradient(to bottom, rgba(221,221,221,1) 0%,rgba(225,225,225, filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dddddd', endColorstr='#eeeeee',GradientType=0 ); /* IE6-9 */ background-color:white; - + } .hero-unit h1 { @@ -369,6 +369,7 @@ div.modal-body button { .jumbotron-sections a:hover { background:black; + color: white; } .jumbotron-logo img { @@ -418,6 +419,10 @@ div.modal-body button { margin:0 20px 20px; } +.track-2-link { + margin: 3px 0; +} + .animated-item.ng-enter-stagger { -webkit-animation-delay:150ms; animation-delay:150ms; diff --git a/src/index.html b/src/index.html index b0e888231..3c2499fb9 100644 --- a/src/index.html +++ b/src/index.html @@ -147,6 +147,33 @@

    HTML enhanced for web apps!

    + +
    @@ -182,25 +209,6 @@

    Extensibility

    - -

    The Basics

    From 324e8b3730bbc3749781fad6700d5d48afd14d9d Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Tue, 27 Oct 2015 07:49:01 +0000 Subject: [PATCH 006/115] docs(index): update Angular Connect links --- src/index.html | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/index.html b/src/index.html index 3c2499fb9..597fd25e9 100644 --- a/src/index.html +++ b/src/index.html @@ -161,13 +161,8 @@

    AngularConnect

    London, United Kingdom

    -
    - From 6bc189a2df79f374778e1708e20c79859b96a757 Mon Sep 17 00:00:00 2001 From: Martin Staffa Date: Mon, 9 Nov 2015 23:59:10 +0100 Subject: [PATCH 007/115] feat(download-data): add 1.5.x to download modal --- build.sh | 4 +++- src/js/download-data.js | 15 +++++++++++---- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/build.sh b/build.sh index 20899516c..cfcf90cf1 100755 --- a/build.sh +++ b/build.sh @@ -23,6 +23,7 @@ function replaceInFile { function getCdnVersions { CDN_VERSION_1_2=$(./get-cdn-version.sh 1.2) CDN_VERSION_1_4=$(./get-cdn-version.sh 1.4) + CDN_VERSION_1_5=$(./get-cdn-version.sh 1.5) } function replaceCdnVersionInFiles { @@ -30,6 +31,7 @@ function replaceCdnVersionInFiles { do replaceInFile $FILE '${CDN_VERSION_1_2}' $CDN_VERSION_1_2 replaceInFile $FILE '${CDN_VERSION_1_4}' $CDN_VERSION_1_4 + replaceInFile $FILE '${CDN_VERSION_1_5}' $CDN_VERSION_1_5 done } @@ -37,7 +39,7 @@ function replaceCdnVersionInFiles { function testBuildResult { export ANGULAR_HOME_HOST='http://localhost:8100'; - export ANGULAR_DOWNLOAD_VERSIONS="$CDN_VERSION_1_2:1.2.x $CDN_VERSION_1_4:1.4.x" + export ANGULAR_DOWNLOAD_VERSIONS="$CDN_VERSION_1_2:1.2.x $CDN_VERSION_1_4:1.4.x $CDN_VERSION_1_5:1.5.x" export ANGULAR_VERSION="$CDN_VERSION_1_4" export CHECK_SCRIPT_TAG="true" diff --git a/src/js/download-data.js b/src/js/download-data.js index a8ec7aab0..b64639d0d 100644 --- a/src/js/download-data.js +++ b/src/js/download-data.js @@ -1,6 +1,11 @@ angular.module('download-data', []) .value('BRANCHES', [ + { + branch: '1.5.*', version: '${CDN_VERSION_1_5}', + title: '1.5.x (beta)', + cssClass: 'branch-1-5-x' + }, { branch: '1.4.*', version: '${CDN_VERSION_1_4}', title: '1.4.x (stable)', @@ -10,7 +15,7 @@ angular.module('download-data', []) branch: '1.2.*', version: '${CDN_VERSION_1_2}', title: '1.2.x (legacy)', cssClass: 'branch-1-2-x' - } + }, ]) .value('BUILDS', [ @@ -22,10 +27,12 @@ angular.module('download-data', []) .value('DOWNLOAD_INFO', { branchesInfo: "
    "+ - "
    Latest 1.4.x
    "+ - "
    This is the latest stable branch (master on Github), with regular bug fixes.
    "+ + "
    Beta 1.5.x
    "+ + "
    This is the currently active development branch (master on Github), which receives new features and may contain breaking changes.
    "+ + "
    Stable 1.4.x
    "+ + "
    This is the latest stable branch (v1.4.x on Github), with regular bug fixes.
    "+ "
    Legacy 1.2.x
    "+ - "
    This branch contains a legacy version of AngularJS that supported IE8 (v1.2.x on Github), only essential bug fixes will appear here.
    "+ + "
    This branch contains a legacy version of AngularJS that supports IE8 (v1.2.x on Github).
    "+ "
    ", buildsInfo: From 2df69146fc84dc9624600cd5a446749f6250c343 Mon Sep 17 00:00:00 2001 From: Naomi Black Date: Fri, 8 Jan 2016 16:05:04 -0800 Subject: [PATCH 008/115] chore(licensing): update year and CC BY license version for docs --- src/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.html b/src/index.html index 597fd25e9..5b201e106 100644 --- a/src/index.html +++ b/src/index.html @@ -433,11 +433,11 @@

    ng-vegas

    Back to top

    -

    Super-powered by Google ©2010-2015

    +

    Super-powered by Google ©2010-2016

    Code licensed under the The MIT License. Documentation licensed under CC BY 3.0. + href="http://creativecommons.org/licenses/by/4.0/">CC BY 4.0.

    From ac5c5dead31a83c60c2624e2375005ed1d4bba8e Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Sat, 9 Jan 2016 09:39:05 +0000 Subject: [PATCH 009/115] fix(download-data): 1.5.x is in release candidate mode --- src/js/download-data.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/download-data.js b/src/js/download-data.js index b64639d0d..e7e6bf6e1 100644 --- a/src/js/download-data.js +++ b/src/js/download-data.js @@ -3,7 +3,7 @@ angular.module('download-data', []) .value('BRANCHES', [ { branch: '1.5.*', version: '${CDN_VERSION_1_5}', - title: '1.5.x (beta)', + title: '1.5.x (release candidate)', cssClass: 'branch-1-5-x' }, { From 08b809e206aba8e3888f39c0fec1f86923d657e0 Mon Sep 17 00:00:00 2001 From: Martin Staffa Date: Wed, 9 Dec 2015 14:44:32 +0100 Subject: [PATCH 010/115] fix: remove 1.2 from dl button, expand description in modal 1.2 should still be easily available for download, but we don't want to advertise for it on the homepage. It should also be clear that it is not actively developed Closes #182 --- src/index.html | 2 +- src/js/download-data.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/index.html b/src/index.html index 5b201e106..7773e5715 100644 --- a/src/index.html +++ b/src/index.html @@ -117,7 +117,7 @@

    HTML enhanced for web apps!

    Download - ({{branch.version}}{{ !$last ? ' / ' : '' }}) + ({{branch.version}}{{ !$last ? ' / ' : '' }}) diff --git a/src/js/download-data.js b/src/js/download-data.js index e7e6bf6e1..d82f6e426 100644 --- a/src/js/download-data.js +++ b/src/js/download-data.js @@ -32,7 +32,8 @@ angular.module('download-data', []) "
    Stable 1.4.x
    "+ "
    This is the latest stable branch (v1.4.x on Github), with regular bug fixes.
    "+ "
    Legacy 1.2.x
    "+ - "
    This branch contains a legacy version of AngularJS that supports IE8 (v1.2.x on Github).
    "+ + "
    This branch contains a legacy version of AngularJS that supports IE8 (v1.2.x on Github)." + + " It is not actively developed and will only receive security fixes. It is not recommended for new applications
    "+ "", buildsInfo: From fdbe6ad13e1c473adc3c4fc2546a4881930d8a8d Mon Sep 17 00:00:00 2001 From: Martin Staffa Date: Thu, 10 Dec 2015 00:38:41 +0100 Subject: [PATCH 011/115] refactor: use flag to set version display on button Closes #182 --- src/index.html | 2 +- src/js/download-data.js | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/index.html b/src/index.html index 7773e5715..c48cf3743 100644 --- a/src/index.html +++ b/src/index.html @@ -117,7 +117,7 @@

    HTML enhanced for web apps!

    Download - ({{branch.version}}{{ !$last ? ' / ' : '' }}) + ({{branch.version}}{{ !$last ? ' / ' : '' }}) diff --git a/src/js/download-data.js b/src/js/download-data.js index d82f6e426..99345bccc 100644 --- a/src/js/download-data.js +++ b/src/js/download-data.js @@ -4,17 +4,20 @@ angular.module('download-data', []) { branch: '1.5.*', version: '${CDN_VERSION_1_5}', title: '1.5.x (release candidate)', - cssClass: 'branch-1-5-x' + cssClass: 'branch-1-5-x', + showOnButton: true }, { branch: '1.4.*', version: '${CDN_VERSION_1_4}', title: '1.4.x (stable)', - cssClass: 'branch-1-4-x' + cssClass: 'branch-1-4-x', + showOnButton: true }, { branch: '1.2.*', version: '${CDN_VERSION_1_2}', title: '1.2.x (legacy)', - cssClass: 'branch-1-2-x' + cssClass: 'branch-1-2-x', + showOnButton: false }, ]) From 407ecaaf8f1fe7fc55e89ebaccfaca0baa085e15 Mon Sep 17 00:00:00 2001 From: Ed Solis Date: Tue, 8 Dec 2015 10:04:37 -0600 Subject: [PATCH 012/115] docs(index): give correct location of ng-vegas conference Closes #181 --- src/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.html b/src/index.html index c48cf3743..0992f6a1e 100644 --- a/src/index.html +++ b/src/index.html @@ -421,7 +421,7 @@

    ng-conf

    ng-vegas

    May 7-8, 2015

    -

    Salt Lake City, Utah

    +

    Las Vegas, Nevada

    From e2d9f01b6c407f886ca66bb1b8c89888fb24b778 Mon Sep 17 00:00:00 2001 From: Sercan Eraslan Date: Fri, 27 Nov 2015 15:05:09 +0200 Subject: [PATCH 013/115] fix(index): prevent text overflow in "The Basiscs" example Closes #180 --- src/css/docs.css | 1 + 1 file changed, 1 insertion(+) diff --git a/src/css/docs.css b/src/css/docs.css index 04b16d207..dc6cea58e 100644 --- a/src/css/docs.css +++ b/src/css/docs.css @@ -204,6 +204,7 @@ img.cache { .well h1.ng-binding { margin: 0; + word-break: break-all; } .no-margins { From 236968d4ceb4f423f55b128afa45f604c9c5e7bd Mon Sep 17 00:00:00 2001 From: Manoj Mishra Date: Sat, 5 Sep 2015 03:45:35 +0530 Subject: [PATCH 014/115] fix(index): typo in example annotations Closes #177 --- src/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.html b/src/index.html index 0992f6a1e..9da747083 100644 --- a/src/index.html +++ b/src/index.html @@ -527,7 +527,7 @@

    Todo

    { "ng-app": "Tells AngularJS to be active in this portion of the page. In this case the entire document." , "angular.min.js": "Load AngularJS." , "todo.js": "Your behavior lives in JavaScript controllers." - , "ng-controller": "The behavior of content under this element will be managed using the TodoController class defined in todo.js." + , "ng-controller": "The behavior of content under this element will be managed using the TodoListController class defined in todo.js." , "{{remaining()}}": "The {{ }} are a declarative way of specifying data binding locations in the HTML. AngularJS will automatically update this text whenever the remaining() function return value changes." , "ng-click": "Instead of registering event-handlers, you declare which method on the controller to call. Here clicking the link will call archive() method." , "ng-repeat": "Use ng-repeat to unroll a collection. Here, for every object in todos, AngularJS will create new copy of the <li> element. When objects are added to the todos collection the ng-repeat automatically adds new <li> elements into the DOM. Similarly when the objects are removed from todos then the corresponding <li> element is removed as well. This is one of the most versatile directives in AngularJS." From 8999f1f9e9ef820396165f9f6e1679d0530fb242 Mon Sep 17 00:00:00 2001 From: Denis Ciccale Date: Mon, 3 Aug 2015 01:25:26 +0200 Subject: [PATCH 015/115] fix(index): typo in annotations previous text: ``` [...]This gives the component to access to the ' controller methods[...] ``` now: ``` [...]This gives the component access to the ' controller methods[...] ``` Closes #174 --- src/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.html b/src/index.html index 9da747083..92d331236 100644 --- a/src/index.html +++ b/src/index.html @@ -971,7 +971,7 @@

    JavaScript Projects

    , "scope": "Our component needs to have a private scope so that its view properties are not accidentally modified outside the <tabs>. If you do need to expose attributes, you can declare input/output attributes. See the <pane> component below for an example." , "replace": "Tells AngularJS that the original <tabs> element should be replaced with the template rather than appending to it." , "active": "We set the active CSS class to show the currently active tab." - , "require": "Specify that the <pane> component must be inside a <tabs> component. This gives the <pane> component to access to the <tabs>' controller methods -- the addPane() method in this case." + , "require": "Specify that the <pane> component must be inside a <tabs> component. This gives the <pane> component access to the <tabs>' controller methods -- the addPane() method in this case." , "tabsController": "As we've specified we require the <tabs> as our container, we get passed its controller instance." , "ng-click": "Select the clicked tab." , "bind": "Specifies how is the title attribute on the <pane> element interpreted. The bind strategy copies the interpolated value to <pane>'s scope. This makes title available for binding in template." From 1a171a76d89be5c4ef52eaccb0e3c07e971cc19a Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Sat, 9 Jan 2016 20:48:17 +0000 Subject: [PATCH 016/115] refact(index): move AngularConnect link to "Previous Conferences" --- src/index.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/index.html b/src/index.html index 92d331236..1a325e70a 100644 --- a/src/index.html +++ b/src/index.html @@ -389,6 +389,18 @@

    Testable

    Previous Conferences

    + + +
    From c2d33ef7443c988b4d12bd73a7218cffae978d21 Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Thu, 3 Mar 2016 09:54:36 +0000 Subject: [PATCH 032/115] feat(index): add angularattack 2016 (Fix the link) Closes #192 --- src/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.html b/src/index.html index 124e768f7..6ce25d9a6 100644 --- a/src/index.html +++ b/src/index.html @@ -159,7 +159,7 @@

    HTML enhanced for web apps!

    - + From 8aa40a2bb80d554041a532c275b78433967354c6 Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Wed, 9 Nov 2016 10:00:01 +0000 Subject: [PATCH 046/115] chore(build): fix protractor version --- package.json | 4 ++-- protractorConf.js | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index f4114a823..c7f0a15c7 100644 --- a/package.json +++ b/package.json @@ -5,8 +5,8 @@ "build": "node scripts/build" }, "devDependencies": { + "eslint": "^3.9.1", "http-server": "*", - "protractor": "~2.5", - "selenium-webdriver": "~2.47.0" + "protractor": "^4.0.10" } } diff --git a/protractorConf.js b/protractorConf.js index 4ba3093dd..03c9730dc 100644 --- a/protractorConf.js +++ b/protractorConf.js @@ -1,10 +1,9 @@ exports.config = { - seleniumServerJar: './node_modules/protractor/selenium/selenium-server-standalone-2.47.1.jar', - seleniumArgs: [], baseUrl: process.env.ANGULAR_HOME_HOST || 'http://angularjs.org', capabilities: { 'browserName': 'chrome' }, + directConnect: true, specs: [ 'test/angularjs.org.spec.js', ], From e360d7c54b71c96cab149d77ba83de7126d4b33a Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Wed, 9 Nov 2016 10:00:40 +0000 Subject: [PATCH 047/115] chore(nvm): set expected node version to 6 --- .nvmrc | 1 + 1 file changed, 1 insertion(+) create mode 100644 .nvmrc diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 000000000..0e2c60cef --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +6.6 \ No newline at end of file From 78f5c8b2325cdd85ec24ec08a18ce67730602f6a Mon Sep 17 00:00:00 2001 From: Alex Wachira Date: Thu, 3 Nov 2016 18:27:40 -0500 Subject: [PATCH 048/115] docs(index): fix typos and grammar for better readability Closes #208 --- src/index.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/index.html b/src/index.html index fada538c9..e47b35442 100644 --- a/src/index.html +++ b/src/index.html @@ -262,16 +262,16 @@

    Wire up a Backend

    Deep Linking

    - A deep link reflects where the user is in the app, this is useful so users can bookmark - and email links to locations within apps. Round trip apps get this automatically, but - AJAX apps by their nature do not. AngularJS combines the benefits of deep link with + A deep link reflects where the user is in the app. This is useful so users can bookmark + and email links to locations within the app. Round trip apps get this automatically, but + AJAX apps by their nature do not. AngularJS combines the benefits of deep linking with desktop app-like behavior.

    Form Validation

    - Client-side form validation is an important part of great user experience. + Client-side form validation is an important part of a great user experience. AngularJS lets you declare the validation rules of the form without having to write JavaScript code. Write less code, go have beer sooner.

    @@ -309,7 +309,7 @@

    Create Components

    Directives

    - Directives is a unique and powerful feature available only in Angular. Directives let + Directives are a unique and powerful feature available only in Angular. Directives let you invent new HTML syntax, specific to your application.

    From edc7f077cee6774fce1653e7965f6839ce63bb07 Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Wed, 23 Nov 2016 19:05:45 +0000 Subject: [PATCH 049/115] chore(version): update to Angular 1.6 Changed the download modal to reference 1.6 (release-candidate). --- scripts/build.js | 2 +- src/js/download-data.js | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/scripts/build.js b/scripts/build.js index f602e72fe..92cf927d4 100644 --- a/scripts/build.js +++ b/scripts/build.js @@ -12,7 +12,7 @@ const utils = require('./utils'); const ROOT_DIR = '.'; const DST_DIR = 'build'; const SRC_DIR = 'src'; -const CDN_VERSIONS = ['1.2', '1.5']; +const CDN_VERSIONS = ['1.2', '1.5', '1.6']; const CDN_REPLACE_FILES = ['index.html', 'js/download-data.js']; const GIT_BRANCH_DIST = 'dist'; const PTOR_CONF = 'protractorConf.js'; diff --git a/src/js/download-data.js b/src/js/download-data.js index 1f96b477e..78764c86c 100644 --- a/src/js/download-data.js +++ b/src/js/download-data.js @@ -1,6 +1,12 @@ angular.module('download-data', []) .value('BRANCHES', [ + { + branch: '1.6.*', version: '${CDN_VERSION_1_6}', + title: '1.6.x (release candidate)', + cssClass: 'branch-1-6-x', + showOnButton: true + }, { branch: '1.5.*', version: '${CDN_VERSION_1_5}', title: '1.5.x (stable)', From f31012d7cf89f99af5dd1bd896d01563ee650842 Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Wed, 23 Nov 2016 19:32:13 +0000 Subject: [PATCH 050/115] chore(version): update to run off 1.6.0-rc.0 --- src/index.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/index.html b/src/index.html index e47b35442..84663d1cb 100644 --- a/src/index.html +++ b/src/index.html @@ -21,8 +21,8 @@ - - + +  - +
    - +
    -
    -
    - -
    -
    -

    HTML enhanced for web apps!

    - - Download AngularJS
    -
    - - ({{branch.version}}{{ !$last ? ' / ' : '' }}) - -
      - - Try the new Angular
    - -
    +
    +

    AngularJSBy Google

    -
    - +
    + +
    +
    -

    Why AngularJS?

    -

    +

    Why AngularJS?

    +

    HTML is great for declaring static documents, but it falters when we try to use it for declaring dynamic views in web-applications. AngularJS lets you extend HTML vocabulary for your application. The resulting environment is extraordinarily expressive, readable, and quick to develop.

    +
    -

    Alternatives

    -

    +

    Alternatives

    +

    Other frameworks deal with HTML’s shortcomings by either abstracting away HTML, CSS, and/or JavaScript or by providing an imperative way for manipulating the DOM. Neither of these address the root problem that HTML was not designed for dynamic views.

    +
    -

    Extensibility

    -

    +

    Extensibility

    +

    AngularJS is a toolset for building the framework most suited to your application development. It is fully extensible and works well with other libraries. Every feature can be modified or replaced to suit your unique development workflow and feature needs. @@ -184,12 +170,18 @@

    Extensibility

    +
    + + + Shaping up with Angular.js + Learn Angular in your browser for free! +
    -

    The Basics

    +

    The Basics

    @@ -206,27 +198,27 @@

    Watch as we build this app

    -

    Add Some Control

    +

    Add Some Control

    -

    Data Binding

    -

    +

    Data Binding

    +

    Data-binding is an automatic way of updating the view whenever the model changes, as well as updating the model whenever the view changes. This is awesome because it eliminates DOM manipulation from the list of things you have to worry about.

    -

    Controller

    -

    +

    Controller

    +

    Controllers are the behavior behind the DOM elements. AngularJS lets you express the behavior in a clean readable form without the usual boilerplate of updating the DOM, registering callbacks or watching model changes.

    -

    Plain JavaScript

    -

    +

    Plain JavaScript

    +

    Unlike other frameworks, there is no need to inherit from proprietary types in order to wrap the model in accessors methods. AngularJS models are plain old JavaScript objects. This makes your code easy to test, maintain, reuse, and again free from boilerplate. @@ -240,7 +232,7 @@

    Plain JavaScript

    -

    Watch as we build this app

    +

    Watch as we build this app

    @@ -250,18 +242,18 @@

    Watch as we build this app

    -

    Wire up a Backend

    +

    Wire up a Backend

    -

    Deep Linking

    -

    +

    Deep Linking

    +

    A deep link reflects where the user is in the app. This is useful so users can bookmark and email links to locations within the app. Round trip apps get this automatically, but AJAX apps by their nature do not. AngularJS combines the benefits of deep linking with @@ -269,16 +261,16 @@

    Deep Linking

    -

    Form Validation

    -

    +

    Form Validation

    +

    Client-side form validation is an important part of a great user experience. AngularJS lets you declare the validation rules of the form without having to write JavaScript code. Write less code, go have beer sooner.

    -

    Server Communication

    -

    +

    Server Communication

    +

    AngularJS provides built-in services on top of XHR as well as various other backends using third party libraries. Promises further simplify your code by handling asynchronous return of data. In this example, we use the AngularFire @@ -304,26 +296,26 @@

    Server Communication

    -

    Create Components

    +

    Create Components

    -

    Directives

    -

    +

    Directives

    +

    Directives are a unique and powerful feature available in AngularJS. Directives let you invent new HTML syntax, specific to your application.

    -

    Reusable Components

    -

    +

    Reusable Components

    +

    We use directives to create reusable components. A component allows you to hide complex DOM structure, CSS, and behavior. This lets you focus either on what the application does or how the application looks separately.

    -

    Localization

    -

    +

    Localization

    +

    An important part of serious apps is localization. AngularJS's locale aware filters and stemming directives give you building blocks to make your application available in all locales. @@ -344,11 +336,11 @@

    Locale: SK

    -

    Testability Built-in

    +

    Testability Built-in

    -

    Injectable

    -

    +

    Injectable

    +

    The dependency injection in AngularJS allows you to declaratively describe how your application is wired. This means that your application needs no main() method which is usually an unmaintainable mess. Dependency injection is also a core to @@ -357,8 +349,8 @@

    Injectable

    -

    Testable

    -

    +

    Testable

    +

    AngularJS was designed from ground up to be testable. It encourages behavior-view separation, comes pre-bundled with mocks, and takes full advantage of dependency injection. It also comes with end-to-end scenario runner which eliminates test flakiness @@ -371,7 +363,7 @@

    Testable

    -

    Previous Conferences

    +

    Previous Conferences