Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
cpprototypes
on Sept 26, 2013
|
parent
|
context
|
favorite
| on:
AngularJS is amazing, and hard as hell
This is a bad example. Why do that when you could just bind directly:
<span>{{ someValue }}</span>
And in the controller JS file do
switch (foo) { case 'bar': scope.someValue = 'hello'; break; ...
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: