Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Learning AngularJS Magic: Expressions
(
pathgather.com
)
10 points
by
nsamuell
on Dec 7, 2014
|
hide
|
past
|
favorite
|
4 comments
szimmer1
on Dec 8, 2014
|
next
[–]
Or just write function increasePoints() { ++($scope.points) }
Function errything!
didgeoridoo
on Dec 7, 2014
|
prev
[–]
I hope someone does a series on "forgetting AngularJS magic" when 2.0 comes out and changes everything...
nsamuell
on Dec 7, 2014
|
parent
[–]
The more it uses web standards (e.g. Object.observe), the less magic will be required (e.g. $watch), so I think you're right :)
krebby
on Dec 7, 2014
|
root
|
parent
[–]
The only reason Object.observe is a standard is because the angular guys pushed it through. It's generally agreed to be a wart of the new spec [0].
[0]
https://twitter.com/floydophone/status/469214241732714497
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Function errything!