You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 22, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 22, 2024. It is now read-only.
@patrickmichalina it's an example of what some state might look like.
it can be whatever you want in your application, Http calls, user input, hide/show values.
For Demo purpose it's just a simple value that's incremented on click
Activity
patrickmichalina commentedon Aug 31, 2017
What is the purpose of the counter?
Toxicable commentedon Aug 31, 2017
@patrickmichalina it's an example of what some state might look like.
it can be whatever you want in your application, Http calls, user input, hide/show values.
For Demo purpose it's just a simple value that's incremented on click
mcferren commentedon Sep 5, 2017
this would work the same on a service injectable as you demonstrate with MyCounterComponent?
Toxicable commentedon Sep 5, 2017
@mcferren yup, it would work the same everywhere
vikerman commentedon Sep 6, 2017
We will get something similar into core angular. Will update here with a design doc soon
Toxicable commentedon Sep 22, 2017
done via angular/angular@cfd9ca0
angular-automatic-lock-bot commentedon Sep 4, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.