0

This is a newbie question. On the AngularJS site, there is a link to download AngularJS. The download button says "1.0.8/1.2.0-rc.2". I'm confused. Which version of AngularJS am I downloading?

The reason I need to know is because I really need the ternary operator feature. From my understanding, that was added in 1.1.5 (per this thread). However, I do not see the word 'ternary' anywhere in the code referenced by the download button.

Thank you for any insights.

4

2 回答 2

0

当您单击下载按钮时,您会看到一个对话框。在此对话框中,您可以在最新的稳定版本和不稳定版本之间进行选择。

当您选择稳定时,您将获得 1.0.8。如果选择unstable,会得到1.2.0-rc.2。然后,您可以使用 CDN 链接或通过单击下载按钮自行下载源代码。

于 2013-09-20T12:25:15.500 回答
0

您可以从以下链接下载 Angular 1.0.8 之后的版本:

http://code.angularjs.org/

编辑: 正如马克建议的那样,您也可以选择“不稳定”来下载 1.2.0-rc.2

于 2013-09-20T12:27:48.347 回答