Skip to main content

All Questions

Tagged with
0 votes
1 answer
3k views

Angular header/footer, Component or Module

I have been learning angular for a while now and I understand the point of modules and components (briefly) but now I am starting my own project using the framework I am somewhat confused. When should ...
Andy Clark's user avatar
-3 votes
1 answer
1k views

Angular 5- Where should logout code sit?

I want to create Logout Functionality in Angular 5. The logout function will contain following pseudo code: Clear local storage authentication JWT token Redirect to login page My question is; where ...
Vinit Divekar's user avatar
3 votes
1 answer
147 views

Why JS MVC frameworks prefer data binding to UI element reference?

When you are using frameworks like Angular, Angular2+, and React, the way you put data in the UI is by binding a property to an attribute of a UI element. On the other hand, when you're doing ...
Andy's user avatar
  • 187
0 votes
1 answer
242 views

Does Angular2 or Angular4 offer an app state and middleware promise like React / Redux?

I used Angular 1 and React / Redux, and one thing I like about React / Redux is that there is a definite app state, and a middleware that can convert a promise into real data. In Angular 1, we often ...
nonopolarity's user avatar
  • 1,837
2 votes
1 answer
234 views

Does AngularJS or Angular 2 provide something similar to the Redux middleware so that AJAX data appear immediately available?

I am learning React / Redux, and one feature I like is, when you fire off an Action, you actually provide a request as the "result" or what is called the payload in Redux, and the Redux middleware won'...
nonopolarity's user avatar
  • 1,837
2 votes
1 answer
388 views

Angular and desktop

I'm reading about Angular on their website here: https://angular.io/features.html, and I see the following: Cross Platform Progressive web apps - Use modern web platform capabilities to ...
loneboat's user avatar
  • 971
1 vote
1 answer
3k views

Best way to rewrite an mvc application to an angular architecture

We have an mvc application that we would like to gradually move to an angular platform. It is a wizard style app with 6-8 pages. We currently have a classic mvc layout. We would like to move to an ...
Esben Skov Pedersen's user avatar