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
The ng2-responsive package should cover your needs: https://www.npmjs.com/package/ng2-responsive
ng2-responsive
I haven't used it extensively yet, but it seems to be doing a decent job.
@View was merged into @Component (ages ago). @Component should be the only decorator you need.
@View
@Component