angular-phonecat icon indicating copy to clipboard operation
angular-phonecat copied to clipboard

Step 4 controller data missing 'age' attrib

Open ghurley opened this issue 13 years ago • 2 comments

The controller json data in step 4 of the tutorial doesn't have 'age' attribs but the documentation claims that it should:

e.g. instead of: {'name': 'Nexus S', 'snippet': 'Fast just got faster with Nexus S.'},

should have: {'name': 'Nexus S', 'age': 1, 'snippet': 'Fast just got faster with Nexus S.'},

Note that this doesn't really cause any problems (other than confusion for the reader) since the implicit ordering in the array comes through, presumably because the null age attribs all sort the same and the implicit order ends up being expressed).

ghurley avatar Oct 09 '13 19:10 ghurley

See this issue in angular.js for update to the docs.... https://github.com/angular/angular.js/pull/4400

petebacondarwin avatar Oct 14 '13 05:10 petebacondarwin

Should be fixed. Please pull again.

btford avatar Oct 22 '13 19:10 btford