search

Home  >  Q&A  >  body text

angular.js - AngularJS version issues

I recently wanted to start learning AngularJS, but I found that there are many versions, and the usage of each version seems to be different. What should I do? Existing books and many APIs on the Internet also introduce previous versions. So do you want to learn the latest version now? Or just stick to one version and learn it through. Please ask for guidance.

过去多啦不再A梦过去多啦不再A梦2807 days ago688

reply all(3)I'll reply

  • 漂亮男人

    漂亮男人2017-05-15 16:56:44

    1. Recommended learning1.4.x的版本,因为1.4.x的版本从性能和功能上来说比之前的1.2.x1.3.x要强大一点,而语法、动画等都有不同程度的改变,应该比较不错。
    2.不推荐学习2.0的版本,一个原因是它的文档还没有怎么完善,等完善好还是需要很长的时间,再者很多angular的插件都是基于1.x的,最重要的一个原因,angular 2.x是可以使用ES6的语法来写的,使用新的语法,加上angular 2.x的深度改版,使得angular 2.x无论从功能还是性能上都比angular 1.x高很多,所以说在学习angular 2.x之前可以好好学习ES6,它可以帮你提高不少效率。
    3.angular 1.x is relatively stable and is used by many companies.

    reply
    0
  • ringa_lee

    ringa_lee2017-05-15 16:56:44

    You can learn <2.0 first because many applications are now developed using versions below 2.0

    reply
    0
  • 高洛峰

    高洛峰2017-05-15 16:56:44

    At the same time, you must consider the compatibility of your programs. Everything before 1.2.28 is compatible with ie8. After that, it will not be compatible.

    reply
    0
  • Cancelreply