---
title: "Discussion on \"Angular containers and inheritance\" | Hashnode"
description: "Discussion on \"Angular containers and inheritance\". I used to pass services to constructor of the component in the following way:\nimport {MyServiceA} from './myServiceA';\nimport {MyServiceB} from './myServiceB';\nimport {MyServiceC} from './myServiceC';\n\nexport class MyComponent {\n  constructor(\n    pr..."
url: "https://hashnode.com/posts/angular-containers-and-inheritance/62c19087c0401b3dcbcfa35d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Angular containers and inheritance](https://blog.mairo.eu/angular-containers-and-inheritance?utm_source=hashnode&utm_medium=feed)

I used to pass services to constructor of the component in the following way: import {MyServiceA} from './myServiceA'; import {MyServiceB} from './myServiceB'; import {MyServiceC} from './myServiceC'; export class MyComponent { constructor( pr...

Jul 3, 2022 · 2 min read · blog.mairo.eu  
Read the article

-   [#angularjs](https://hashnode.com/tag/angularjs)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#software-architecture](https://hashnode.com/tag/software-architecture)

## Written by

[Miroslav Slapka](https://hashnode.com/@miresk)

@miresk · Prague

  
[View profile](https://hashnode.com/@miresk)

Web developer focusing on front-end technologies

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
