TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Mandar Shinde
NA
423
115.6k
Regarding getting error related to StaticInjector.
May 20 2019 7:41 AM
Dear All,
I was developing one component using Angular 5 and ASP .Net MVC 5.
While debeloping that component I am getting one error which is not allowing me to access my website.
Error is as follows :-
ERROR Error: Uncaught (in promise): Error: StaticInjectorError(AppModule)[Globals -> CommonService]:
StaticInjectorError(Platform: core)[Globals -> CommonService]:
I know I am doing mistake some where. What I want to do is that I have Global.ts with me and CommonServie.ts too, in that Global.ts there is one dictionary which is public.
I want assign data to dictionary with help of common service and I want to access that public dictionary in another component.
I don't know how I can achieve that but it will be very userfull for me.
please let me know if any one have easy solution.
Thanking you in advance.
Reply
Answers (
0
)
Regarding getting values globally.
Regarding getting retain values in between two components.