Remake JS and jQuery into AngularJS

This question already has an answer here:

  • “Thinking in AngularJS” if I have a jQuery background? [closed] 15 answers

  • I suggest you to start with some tutorials (codescool offer the best one in my opinion)

    Then google is my encyclopedia about single cases. If you post some case probably we can help you but your question is too general to have an answer


    Angular1 is noting but organised JS, where you have controllers and related views and it can be totally written in the plain JS, you would however need to understand angular format of writing controllers.

    Angular2 on the other hand should be written using typescript


    Starts with some basic AngularJS tutorials like AngularJS Guide, get ramp-up on it and then starts desinging app in Architectural way in terms of Angular (MVC).

    AngularJs provides MVC paltform where you can separate your Model, Views and Controller, so all your js related code goes in controller(Business logic) and model will be used in Views for data binding.

    链接地址: http://www.djcxy.com/p/3924.html

    上一篇: 如何从jquery中的自定义数据标签中获取数据

    下一篇: 将JS和jQuery重新转换为AngularJS