I\'m working on web site, that has slight different functionality based on version desktop/mobile.
I tried to apply it via @View, but it looks like this decorator is now
@Component({ selector: 'my-component', templateUrl: "./" + (window.screen.width > 900 ? "my-component.desktop.html" : "my-component.mobile.html"), styleUrls: ['./my-component.css'] })