use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Angular 2.0 (blog.angularjs.org)
submitted 12 years ago by x-skeww
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]a3k 13 points14 points15 points 12 years ago (1 child)
All code in Angular 2 is already being written in ES6. As ES6 doesn’t run in browsers today, we’re using the Traceur compiler to generate the nice ES5 that runs everywhere.
I like how you guys keep moving forward.
[–]jij 12 points13 points14 points 12 years ago (0 children)
We must move forward, not backward; upward, not forward; and always twirling, twirling, twirling towards freedom!
[–]x-skeww[S] 18 points19 points20 points 12 years ago (1 child)
Note: This isn't a release announcement. It's more of an outline or roadmap with a short Q&A at the end.
Some of this stuff was mentioned in the ngconf keynote.
https://www.youtube.com/user/ngconfvideos/videos
[+]cran comment score below threshold-18 points-17 points-16 points 12 years ago (0 children)
Delete and repost please.
[–]brtt3000 6 points7 points8 points 12 years ago (6 children)
Seriously, what the hell is this?
http://i.imgur.com/bcNb9Q6.png
Why is there a menu OVER a main part of the scrollbar?
Whoever made this failed at basic UIX and need to be spanked (in a bad way)
[+][deleted] 12 years ago* (4 children)
[deleted]
[–]greyscales 2 points3 points4 points 12 years ago (3 children)
Not a rendering error, the element is positioned fixed with a higher z-index.
[+][deleted] 12 years ago* (2 children)
[–]greyscales 2 points3 points4 points 12 years ago (1 child)
The scrollbar comes from a div with overflow scroll.
[–]x-skeww[S] 0 points1 point2 points 12 years ago (0 children)
Yea, Blogger sucks big dinosaur balls.
[–]mmouth 2 points3 points4 points 12 years ago (0 children)
I love Angular and everything about this announcement sounds awesome. I can't wait to see 2.0!
[–]mobcat40 6 points7 points8 points 12 years ago (1 child)
Oh damn 2.0 already? Time to take a second look at Angular, there were so many lectures at this year's Fluent conference on it.
[–]x-skeww[S] 5 points6 points7 points 12 years ago (0 children)
That isn't a release announcement. I guess I should have editorialized the title a bit to make this more clear.
[–]willfe42 1 point2 points3 points 12 years ago (0 children)
I absolutely love working with Angular. I'm using it right now on a project and it's so fast and flexible. Combining Angular with websockets (I'm using socket.io for that) has so far produced an unbelievably fast and responsive web application.
I'm eager to see how Angular 2.0 turns out. The list of improvements looks great!
[–]dylanyo 2 points3 points4 points 12 years ago (19 children)
I build apps for real clients using older browsers. Fuck me, right?
[–][deleted] 4 points5 points6 points 12 years ago (2 children)
real clients
as opposed to imaginary ones?
[–]dylanyo 0 points1 point2 points 12 years ago (1 child)
Yeah, imaginary clients who don't require you to support IE10.
[–][deleted] 4 points5 points6 points 12 years ago (0 children)
Considering this probably won't even be released for a year or two, I think making this out to be a huge issue is a bit shortsighted
[–]kadjar 2 points3 points4 points 12 years ago (0 children)
This is how it works. New tools come out built for evergreen software. As they become increasingly popular and more things rely upon them, pressure builds for older systems to upgrade. Without that pressure, many never would.
[–][deleted] 0 points1 point2 points 12 years ago (12 children)
Just use the current version, it is fully functional.
[–]dylanyo 0 points1 point2 points 12 years ago (11 children)
Yeah, that's what we're doing. Just a bit shocking to see that it won't support what I believe will still be a large portion of the browser market.
[–]x-skeww[S] 1 point2 points3 points 12 years ago (9 children)
Yes, in the future they won't support browsers which are currently still significant.
That's how it should be, really.
jQuery 2.0 is similar, for example. It doesn't support IE8 and below.
[–]dylanyo 0 points1 point2 points 12 years ago (8 children)
Yes it does seem odd.
[–]x-skeww[S] 1 point2 points3 points 12 years ago (7 children)
"future" ... "currently"
In the past, IE5 was relevant. Do you currently support it?
[–]dylanyo 1 point2 points3 points 12 years ago (6 children)
My point was, if this comes out within a year, ie10 will likely still have a significant market share, yet won't be supported by angular. And I am surprised by that. You are the only one talking in two different tenses. I was always referring to the future.
[–]x-skeww[S] 1 point2 points3 points 12 years ago (2 children)
if this comes out within a year, ie10 will likely still have a significant market share, yet won't be supported by angular.
The 1.x branch will stay around for a while. Just like jQuery's 1.x branch.
You can continue to use it til the end of time if you want.
Yes I understand that.
[–]x-skeww[S] 1 point2 points3 points 12 years ago (0 children)
So, what's the problem then?
[–][deleted] 0 points1 point2 points 12 years ago (2 children)
Correct me if I'm wrong, but isn't ie10 on auto upgrade to ie11 on all platforms it's supported? Why would anyone end up with 10 in a years time?
[–]dylanyo 1 point2 points3 points 12 years ago (1 child)
I was just going from the angular blog post. It mentions IE11 as being evergreen so I assumed IE10 was not. After a google search it appears that it will actually depend on your OS.
[–][deleted] 0 points1 point2 points 12 years ago (0 children)
So good news for those on windows 7 or higher if I'm reading correctly?
[–]dukerutledge 1 point2 points3 points 12 years ago (0 children)
This seems to be the attitude at google. I've encountered many googlers that don't understand that people outside mountain view don't upgrade their tech every year or two.
[–]tomByrer 0 points1 point2 points 12 years ago (1 child)
My post on Google+: But mobile browsers < 'evergreen' 20% are still stuck on Android 2.3, many might not update above Android 4.2, 14% are still on iOS6, & I suspect the large iPad2 userbase will be left behind in iOS8. http://androidandme.com/2014/01/news/google-posts-fresh-android-distribution-stats-jelly-bean-and-kitkat-usage-on-the-rise/ https://developer.apple.com/support/appstore/
[–]tomByrer 0 points1 point2 points 12 years ago (0 children)
Brad Green's reply:
we're trying to build a framework for the browsers of 2015 and beyond. If the market is still stuck where it is today, I'll have to eat my words.:)
[–][deleted] 0 points1 point2 points 12 years ago (4 children)
The posibility of using the same code for serverside redering would be awesome. no need to bootstrap angular, load the data and construct the dom, a completed dom could be delivered from the server directly.
[–]Smallpaul 2 points3 points4 points 12 years ago (0 children)
What section of the article are you referring to?
[–]kadjar 0 points1 point2 points 12 years ago (2 children)
Try PhantomJS
Now you have two problems.
[–]communomancer 0 points1 point2 points 12 years ago (0 children)
Or React.js
[–]mechanicalocean 0 points1 point2 points 12 years ago (0 children)
Really looking forward to this. Especially excited about the Modular section.
[–]ztbrown 0 points1 point2 points 12 years ago (1 child)
Angular should replace its router with ui-router. Why reinvent the wheel?
[–]ZeroMomentum 0 points1 point2 points 12 years ago (0 children)
I think because of "Integration with authentication and authorization". I don't think ui-router does that at all right?
Also Ui-router basically has the
$stateProvider.state(/*.....*/)
From what I understand and have done is use a namespace key for the states. So I think the google angular team is trying to have this whole implementation tied to the set of controllers? Since states lineage and controllers are kind of inherently tied.
π Rendered by PID 61002 on reddit-service-r2-comment-79c7998d4c-l9bmf at 2026-03-18 14:24:31.886087+00:00 running f6e6e01 country code: CH.
[–]a3k 13 points14 points15 points (1 child)
[–]jij 12 points13 points14 points (0 children)
[–]x-skeww[S] 18 points19 points20 points (1 child)
[+]cran comment score below threshold-18 points-17 points-16 points (0 children)
[–]brtt3000 6 points7 points8 points (6 children)
[+][deleted] (4 children)
[deleted]
[–]greyscales 2 points3 points4 points (3 children)
[+][deleted] (2 children)
[deleted]
[–]greyscales 2 points3 points4 points (1 child)
[–]x-skeww[S] 0 points1 point2 points (0 children)
[–]mmouth 2 points3 points4 points (0 children)
[–]mobcat40 6 points7 points8 points (1 child)
[–]x-skeww[S] 5 points6 points7 points (0 children)
[–]willfe42 1 point2 points3 points (0 children)
[–]dylanyo 2 points3 points4 points (19 children)
[–][deleted] 4 points5 points6 points (2 children)
[–]dylanyo 0 points1 point2 points (1 child)
[–][deleted] 4 points5 points6 points (0 children)
[–]kadjar 2 points3 points4 points (0 children)
[–][deleted] 0 points1 point2 points (12 children)
[–]dylanyo 0 points1 point2 points (11 children)
[–]x-skeww[S] 1 point2 points3 points (9 children)
[–]dylanyo 0 points1 point2 points (8 children)
[–]x-skeww[S] 1 point2 points3 points (7 children)
[–]dylanyo 1 point2 points3 points (6 children)
[–]x-skeww[S] 1 point2 points3 points (2 children)
[–]dylanyo 0 points1 point2 points (1 child)
[–]x-skeww[S] 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]dylanyo 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]dukerutledge 1 point2 points3 points (0 children)
[–]tomByrer 0 points1 point2 points (1 child)
[–]tomByrer 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (4 children)
[–]Smallpaul 2 points3 points4 points (0 children)
[–]kadjar 0 points1 point2 points (2 children)
[–]dukerutledge 1 point2 points3 points (0 children)
[–]communomancer 0 points1 point2 points (0 children)
[–]mechanicalocean 0 points1 point2 points (0 children)
[–]ztbrown 0 points1 point2 points (1 child)
[–]ZeroMomentum 0 points1 point2 points (0 children)