Articles

Both Angular 2 and AngularJS are great for e-commerce, but which one you use for e-commerce depends on your needs. AngularJS is good for building small-scale e-commerce applications fast while Angular 2 is good for complex, scalable solutions that are high-performing and mobile-ready. 

Today, over a quarter of developers use AngularJS and Angular 2. Thirty-two percent use them for user interfaces, according to StackOverflow, and many of the respondents in that study worked in e-commerce development.

Source de l’article sur DZONE

Well, the main.ts is the entry point for the Angular application. Here, we’re not able to query instances of services or get them injected because we’re outside of the Angular application. It looks like that storage object is completely decoupled from the Angular application as well, so any dependency injection you’re after you’d have to do yourself.

Also of note: while I can’t find any explicit documentation on this, Amazon’s example of this Storage class has all of its properties as static, so I’m not sure if the configuration is expecting an instance of a class at all.

Source de l’article sur DZONE