that helps you migrate your AngularJS apps to Angular piece by piece. So, essentially, you can have AngularJS and Angular side by side in the same hybrid application.” – George Kalpakas
to bootstrap both Angular and AngularJS in the same app • We need to bootstrap the Angular Module first and then the AngularJS module from within the Angular Module (ngDoBootstrap hook) • However, because AngularJS gets to run its compile service first, it owns the top level element (everything inside can be either Angular or AngularJS)
• In order to do that, we need to register a directive (@Directive decorator) - this will represent the component in the Angular world • Helper: the UpgradeComponent class (extended to create the facade)
components • We need a factory function that will retrieve the service from the AngularJS injector ($) and return it. Then we can use the function to register a provider.
Angular • Better testing (it’s terrible to test at the moment since you have to bootstrap a micro hybrid app for each unit test) • Better dual-router • Better documentation
its architecture and its behaviour. It’s telling us if we’re doing the right thing, if the application is doing what it’s supposed to do.” – Shmuela Jacobs
dev tool) • It’s ran by rangle.io (the people who developed Batarang, Augury’s predecessor) • It’s an Angular app itself • It’s good for devs, QAs and team leads
Dev Tools • You can see the app structure and it highlights the components in the browser when you hover over the nodes in the component tree • You can see the properties and state • You can see the injection graph (dependency graph)
the application starting with the root module — the app module (with imports, exports etc.) • You can see the router tree (graphic representation) — also indicates lazy loaded routes • It’s really cool for new team members who want to get to know the application
multiple requests for each data “collection” or you create a custom endpoint that sends just the data you are going to use • With GraphQL, you ASK for what you need and you GET that info (and just that)
structure (no matter how deep/nested the hierarchy is) in just one request, without overfetching • You get all the data in one response (according to the GraphQL schema).
autocomplete (yey!) and it’s easier to mock data — so the BE and FE can work independently • You can put a GraphQL layer on top of any database structure