Welcome to TRiBot Forums

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

fio1313

Registered
  • Content count

    1
  • Joined

  • Last visited

  • Feedback

    0%

Community Reputation

0 Neutral

About fio1313

  • Rank
    New Botter
  1. hi!!! I'm an experienced javascript developer and have recently been working on Angular. I ran into some trouble creating custom pipes from scratch and from there on the issues became much more complex. I found some rich sources that helped me understand the core concepts of Angular 2. For example, if you are dealing with pipes or having issues, you may be interested in looking into: Part 1 https://auth0.com/blog/angular2-series-working-with-pipes Part 2 https://auth0.com/blog/angular-2-series-part-2-domain-models-and-dependency-injection Part 3 https://auth0.com/blog/angular-2-series-part-3-using-http In Angular 1.x we can transform requests globally in the application's config. .config(function($httpProvider) { $httpProvider.defaults.transformRequest = function(data) { return JSON.stringify({name: "Ryan"}); } }); Whereas in Angular 2, we would extend the base request optiond class MyOptions extends BaseRequestOptions { body: string = JSON.stringify({name: "Ryan"}); } bootstrap(App, [HTTP_PROVIDERS, provide(RequestOptions, {useClass:MyOptions})]); I hope this was of some help. All comments and suggestions are welcome!!!