SwapnilShahGit / SIP

This is a project that was created by the PEY Interns of the 2016-2017 year at SOTI. We created an organizational tool for students using the MEAN stack.
3 stars 0 forks source link

Refactor tab switching to use service #615

Closed AdamNatale closed 7 years ago

AdamNatale commented 7 years ago

This was needed to switch from any component

[#614]

AdamNatale commented 7 years ago

@usoltsevpaul the intention of this new service was not to replace the nav service. It was to have a global service that we can use to switch tabs from any component, as right now we can only switch tabs from inside the main page component. Both services are implemented in a similar ways, but should be split into two different services, as they are used for different purposes. If you still don't see why this service is needed please message me.