Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialBrodie Capel
16,365 Pointswhats should I be calling .tags on eg ng-model="somthing.tags"
This question ask me to Create a text input that stores a comma-separated list of tags into the 'tags' data property. but it doesn't specify what to call .tags on eg ng-model="somthing.tags"
<!DOCTYPE html>
<html ng-app="myApp">
<head>
<title>Angular.js</title>
<script src="js/angular.js"></script>
<script src="app.js"></script>
</head>
<body>
<input type="text" ng-modle="tags" ng-list />
<pre>{{tags | json}}</pre>
</body>
</html>
5 Answers
CJ Williams
34,372 PointsThis is not a very well organized course. Tough to follow along with.
Rinat Shaikhutdinov
Courses Plus Student 15,554 Points<input ng-model="tags" ng-list="," />
Santiago Blanco
2,939 Points<textarea ng-model="tags" ng-list> <textarea/>
```
Randy De Silva
10,298 Pointsyou spelled model wrong
james white
78,399 PointsSorry, Santiago,
Your code is not what the challenge was looking for,
but Rinat's code passes the challenge: http://teamtreehouse.com/library/angularjs-2/an-introduction-to-twoway-data-binding/twoway-binding-nglist
Challenge Task 1 of 1
Create a text input that stores a comma-separated list of tags into the 'tags' data property.
Note: See where I highlighted the word "input" in the challenge
question...that was the word that provided the hint about the
challenge wanted...