Question
I am working on a tutorial involving the setting of an iframe src attribute: This throws an exception: Error: unsafe value used in a resource URL context at DomSanitizationServiceImpl.sanitize... I have already tried using bindings with [src] with no success.
0
3 weeks 0 Answers 21 views

Question
What is the method for redirecting the user to a completely external URL in Angular 2. For example, if I need to redirect the user to an OAuth2 server in order to authenticate, how would I do that? Location.go(), Router.navigate(), ...
0
3 weeks 0 Answers 17 views

Question
I have this module which componentize the external library together with additional logic without adding the tag directly into the index.html: import 'http://external.com/path/file.js' //import '../js/file.js' @Component({ selector: 'my-app', template: ` ...
0
3 weeks 0 Answers 20 views

Question
I was reading related questions and I found this one, but my question is how can I switch from development to production mode. There are some differences between the modes which are pointed out here. In the console I can ...
0
3 weeks 0 Answers 17 views

Question
How can I allow access outside the localhost at Angular2? I can navigate at localhost:3030/panel easily but I can not navigate when I write my IP such as 10.123.14.12:3030/panel/. Could you please allow me how to fix it? I am ...
0
3 weeks 0 Answers 15 views