Is AngularJS just for single-page applications (SPAs)?

后端 未结 5 1232
轮回少年
轮回少年 2020-11-29 15:21

We are looking at options to build the front end of an application we are creating and are trying to evaluate a tool that will work for us and give us the best platform to m

5条回答
  •  爱一瞬间的悲伤
    2020-11-29 15:30

    Not at all. You can use Angular to build a variety of apps. Client-side routing is just a small piece of that.

    You have a large list of features that will benefit you outside of client-side routing:

    • two-way binding
    • templating
    • currency formatting
    • pluralization
    • reusable controls
    • RESTful api handling
    • AJAX handling
    • modularization
    • dependency injection

    It's crazy to think that all of that "could only be used in a single page app". Of course not.. that's like saying "Jquery is only for projects with animations".

    If it fits your project, use it.

提交回复
热议问题